I had to clean my application database from old models without losing data. So, I copied my tables to another db, dropped them, run syncdb and copied data back. But the app stopped working, because some tables used GenericRelations and still pointed to the old ContentType; so, I had to change that id manually.
Is there a way to force the id of a model in django_content_type table? Or, is there a way to run a syncdb to apply changes without losing data? Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.