On 05/15/2011 05:00 PM, manaus wrote:
Hello,
I had to change one of the models, did flush and syncdb, but still the view
returns 'integrity error, myapp_user.town_id may not be NULL, the field
seems to be still there. What can I do? (using sqlite3)


Thanks!

1. syncdb doesn't do anything to existing models. You have to use South.
http://south.aeracode.org/

2. sqlite3 doesn't support deleting fields.

3. If you don't mind flushing the database then just delete the sqlite3 database and start over.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@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=en.

Reply via email to