Hi Leon, On Tue, 2006-08-15 at 02:03 -0700, [EMAIL PROTECTED] wrote: > Hi, > > I'm a complete beginner with a workflow question, here it goes: I've > been making various small apps, there have been times when I decided to > add or edit parts of my models after deployment which leads to various > errors when trying to edit or view the previous entries in the admin > page. This leads me to think my code is the problem, but after purging > the database of everything and syncdb with the modified models, it > usually works. How do you folks generally modify models after > deployment without having things break? I think I might even be missing > something very obvious. Any tips would be greatly appreciated.
So Pat already explained why the database isn't changing and offered a couple of solutions. Also realise that you can have manage.py display what the database table *should* look like by running "manage.py sql <app-name>" and then compare that to the existing database table in order to work out the necessary changes. Cheers, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

