Since my attempt to use sqlcustom to insert some data into my SQLite3
database failed I was trying to use a JSON fixture. But when I tried
it, I got this traceback. Can anyone help me locate these files so
that I can understand what the error is? (I don't know where to find
the referenced files)

Thank you.

-----------------------------------------------------------------------------------------------------------
Installing json fixture 'f1' from 'C:\sw1\..\sw1\wkw1\fixtures'.

Problem installing fixture 'C:\sw1\..\sw1\wkw1\fixtures\f1.json':
Traceback (most recent call last):

  File "C:\Python26\Lib\site-packages\django\core\management\commands
\loaddata.py", line 150, in handle for obj in objects:

  File "C:\Python26\lib\site-packages\django\core\serializers
\json.py", line 41, in Deserializer for obj in PythonDeserializer
(simplejson.load(stream)):

  File "C:\Python26\lib\site-packages\django\core\serializers
\python.py", line 9 5, in Deserializer data[field.attname] =
field.rel.to._meta.get_field(field.rel.field_name).to_
python(field_value)

  File "C:\Python26\lib\site-packages\django\db\models\fields
\__init__.py", line 356, in to_python_("This value must be an
integer."))

  ValidationError: This value must be an integer.
------------------------------------------------------------------------------------------------------------

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to