mirror of https://github.com/django/django.git
Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
This commit is contained in:
parent
feb6581993
commit
d2c135da4c
|
@ -157,11 +157,12 @@ Django quotes column and table names behind the scenes.
|
||||||
part of a :djadmin:`flush` management command. That is, Django
|
part of a :djadmin:`flush` management command. That is, Django
|
||||||
*manages* the database tables' lifecycles.
|
*manages* the database tables' lifecycles.
|
||||||
|
|
||||||
If ``False``, no database table creation or deletion operations will be
|
If ``False``, no database table creation, modification, or deletion
|
||||||
performed for this model. This is useful if the model represents an existing
|
operations will be performed for this model. This is useful if the model
|
||||||
table or a database view that has been created by some other means. This is
|
represents an existing table or a database view that has been created by
|
||||||
the *only* difference when ``managed=False``. All other aspects of
|
some other means. This is the *only* difference when ``managed=False``. All
|
||||||
model handling are exactly the same as normal. This includes
|
other aspects of model handling are exactly the same as normal. This
|
||||||
|
includes
|
||||||
|
|
||||||
#. Adding an automatic primary key field to the model if you don't
|
#. Adding an automatic primary key field to the model if you don't
|
||||||
declare it. To avoid confusion for later code readers, it's
|
declare it. To avoid confusion for later code readers, it's
|
||||||
|
|
Loading…
Reference in New Issue