summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorSteven Pousty <steve.pousty@gmail.com>2020-06-16 17:35:13 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-06-26 09:58:55 +0200
commit1a3029b6b4faf400232c38ff70fb74a97b14d1a9 (patch)
tree5f85242b3344dbe67ecd945e9315e62ea086cf27 /docs/ref
parent6ed4a9bdb3dcb8eb6d6f175947e5fef7827245fc (diff)
[3.1.x] Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
Backport of d2c135da4c75079e45661ec609bd72f27dddf2a9 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/options.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt
index e1d927b4e5..e45dfee8dd 100644
--- a/docs/ref/models/options.txt
+++ b/docs/ref/models/options.txt
@@ -157,11 +157,12 @@ Django quotes column and table names behind the scenes.
part of a :djadmin:`flush` management command. That is, Django
*manages* the database tables' lifecycles.
- If ``False``, no database table creation or deletion operations will be
- performed for this model. This is useful if the model represents an existing
- table or a database view that has been created by some other means. This is
- the *only* difference when ``managed=False``. All other aspects of
- model handling are exactly the same as normal. This includes
+ If ``False``, no database table creation, modification, or deletion
+ operations will be performed for this model. This is useful if the model
+ represents an existing table or a database view that has been created by
+ some other means. This is the *only* difference when ``managed=False``. All
+ 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
declare it. To avoid confusion for later code readers, it's