Maintaining content type pk integrity in a Django deployment
- by hekevintran
When you run syncdb in Django, the primary keys of the content types will be recomputed. If I create new models, the next time I run syncdb, the primary keys of the content types will be different.
If I have an application running in production, how can I update the database with the new models and keep the integrity of content type pks?