Gabriel Farrell schrieb: > On May 7, 4:32 am, Jens Diemer <[EMAIL PROTECTED]> wrote: >> That surprises me. Does nobody have the same problems? >> Still nobody delete a model class? >> >> How to clean up the django tables? With phpMyAdmin? >> > > I've just run into a similar issue when I removed an app from a > project. After some attempt to fix the tables myself, I held my > breath, dropped the tables (auth_permission and django_content_type), > then ran "python manage.py syncdb". Voila, the tables were re-created > correctly, without the app I had removed.
Yes, you can drop and recreate the tables. But if you setup users and permissions, then IMHO you lost this :( For PyLucid i have made a small tool to fix this: http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/tools/clean_tables.py?rev=1085 -- Mfg. Jens Diemer ---- A django powered CMS: http://www.pylucid.org --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---