Migrating Django Embedded Models When Upgrading

We are using an earlier version of Django (1.1.1) and in the near future we are preparing to upgrade to the latest version (currently 1.2).

None of my searches touched upon the topic of migrating database tables (auth_user, etc.) in Django versions. Using syncdb only works to create new tables, but does not affect existing tables.

I get the impression that the update is not just related to the new version of Django files, but we also need to control the migration of our database, as we rely on some of the built-in Django applications (django.contrib.auth, django.contrib.sites, etc. .). We plan to use the South to manage database migration.

Is this something internally processed by Django? Am I trying to solve a problem that does not exist?

+3
source share
1 answer

There are no changes to the django.contrib.auth or django.contrib.sites models between 1.1.1 and 1.2.5, so you do not need to migrate the database.

+3
source

Source: https://habr.com/ru/post/1794850/


All Articles