I'm using the admin site. I noticed that I couldn't leave an IntegerField empty even when I had "year = models.IntegerField (blank=True)". I googled and found out I should set null=True as well. I did this, ran syncdb, and it didn't fix the issue.
I am using sqlite3 with a temporary database. I restarted my machine, so that the database was deleted, ran syncdb, and the issue was fixed. I tested again and it looks like once the database and tables are created, adding null=True to an IntegerField and running syncdb won't actually update the database. Is syncdb supposed to fully sync the database to the model definitions? If so I would call this a bug. Comments? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---