On Apr 15, 4:24 am, CrabbyPete <pete.do...@gmail.com> wrote: > I am just starting coding with django. So please bear with me. > > I made a change to my User model so the field email_addr is now email. > I deleted the database, made new tables with manage.py, did a resync, > and changed all the code that refered to email_addr to email. > Everything looks fine, but I still get Ithe following error when I > looked at my database with the admin. Is there some >
This is a FAQ: http://docs.djangoproject.com/en/dev/faq/models/#if-i-make-changes-to-a-model-how-do-i-update-the-database (the third option not mentioned there is to use one of the third-party projects such as South, dmigrations or django-evolution to update your database). -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---