You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem installing fixture 'fixtures/initial_data.json': Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 169, in handle
for obj in objects:
File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/json.py", line 35, in Deserializer
for obj in PythonDeserializer(simplejson.load(stream), **options):
File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/python.py", line 84, in Deserializer
Model = _get_model(d["model"])
File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/python.py", line 141, in _get_model
raise base.DeserializationError(u"Invalid model identifier: '%s'" % model_identifier)
DeserializationError: Invalid model identifier: 'wordconfuse.Words'
Is there any debug info I can give you to be more helpful?
The text was updated successfully, but these errors were encountered:
thanks, it looks like it is having difficulty finding the "Words" class in models.py.
If the class is there you might want to make sure you don't have a pathing issue, see if this works:
Hey! Hope you're well! Splendid project if I do say so myself :)
202c088#fixtures/initial_data.json
tony@general:1~/src/django_projects/words/wordconfuse 10:06 AM|$> ls
bin defs.pyc forms.py init.py models.py README templates urls.py views.py
defs.py fixtures forms.pyc init.pyc models.pyc static tests.py urls.pyc views.pyc
tony@general:1~/src/django_projects/words/wordconfuse 10:06 AM|$> python ../manage.py loaddata fixtures/initial_data.json
Problem installing fixture 'fixtures/initial_data.json': Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 169, in handle
for obj in objects:
File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/json.py", line 35, in Deserializer
for obj in PythonDeserializer(simplejson.load(stream), **options):
File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/python.py", line 84, in Deserializer
Model = _get_model(d["model"])
File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/python.py", line 141, in _get_model
raise base.DeserializationError(u"Invalid model identifier: '%s'" % model_identifier)
DeserializationError: Invalid model identifier: 'wordconfuse.Words'
Is there any debug info I can give you to be more helpful?
The text was updated successfully, but these errors were encountered: