mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #22853: Swapped models are now ignored for migration operations.
This commit is contained in:
parent
91f1b6dcdc
commit
8d2ac948a9
6 changed files with 147 additions and 26 deletions
|
@ -389,7 +389,8 @@ use as your User model.
|
|||
|
||||
Changing this setting after you have tables created is not supported
|
||||
by :djadmin:`makemigrations` and will result in you having to manually
|
||||
write a set of migrations to fix your schema.
|
||||
fix your schema, port your data from the old user table, and possibly
|
||||
manually reapply some migrations.
|
||||
|
||||
Referencing the User model
|
||||
--------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue