-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing fixture '/fixtures/initial_data.json': Question has no field named u'required' #8
Comments
Hi @senner. Thank you for the report. I pushed a fix for the initial_data.json but there are still pb running the testsite (500 errors). I will try to get to them within the next few days. djaodjin-survey version 0.1.7 behaves like an online web questionnaire/quiz (radio, checkbox, etc). It should be stable. djaodjin-survey version 0.2+ (current master) is more like a geographic/weather survey. It is used to record some metrics at various point in time (i.e. Campaigns). I still have the intention to retrofit the 0.1.7 functionality into the 0.2 series though models might look overly complicated for online surveys. |
Thanks , we are looking for a 'campaign' based time limited poll/survey. So 0.2 may work for our use case. |
The last commit should have fixed most (hopefully all) the issues with running the testsite. Please let me know if the repo fits the bill for you or if you are missing features. Thank you. |
Receive various errors on following the testsite deploy. Seems this may need a few updates to get running for most users to test it with newer Django, maybe with some explicit pins on the requirements.txt?
First receive
"initial_data.json': Could not load auth.User(pk=2): no such table: auth_user"
so you need to run
python manage.py migrate auth ; python manage.py contenttypes; python manage.py admin
python manage.py syncdb
but still get:
"RemovedInDjango19Warning: initial_data fixtures are deprecated. Use data migrations instead."
...
File "/opt/djaodjin/local/lib/python2.7/site-packages/django/db/models/options.py", line 554, in get_field
raise FieldDoesNotExist('%s has no field named %r' % (self.object_name, field_name))
django.core.serializers.base.DeserializationError: Problem installing fixture '/opt/djaodjin/djaodjin-survey/testsite/fixtures/initial_data.json': Question has no field named u'required'
The text was updated successfully, but these errors were encountered: