Name = models.CharField(max_length=120, blank=True, null=True)Ĭontact = models.CharField(max_length=250, blank=True, null=True) My Django model for 'gigs' that I'm trying to dump from looks like this in the models.py file: from datetime import datetime usr/local/lib/python2.6/site-packages/MySQLdb/_init_.py:34: DeprecationWarning: the sets module is deprecatedĮrror: Unable to serialize database: Location matching query does not exist. But when I try and actually dump the data of the application that corresponds to the tables I get this error: $ python manage.py dumpdata -indent=2 gigs > fixtures/gigs_100914.json The website works fine and Django admin responds as normal. On the live server it's running MySQL Server version 5.0.77 and I imported a lot of data to my tables using the phpMyAdmin interface. I'm getting an error when I'm trying to dump data to a JSON fixture in Djanog 1.2.1 on my live server.
0 Comments
Leave a Reply. |