diff options
| author | Steven Pousty <steve.pousty@gmail.com> | 2020-06-16 17:35:13 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-06-26 08:46:01 +0200 |
| commit | d2c135da4c75079e45661ec609bd72f27dddf2a9 (patch) | |
| tree | 616b2e62e7e751780920991b217942951fcdd34e /docs/ref/models/options.txt | |
| parent | feb658199373c5f61d02bc78516c8386c4821d6a (diff) | |
Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
Diffstat (limited to 'docs/ref/models/options.txt')
| -rw-r--r-- | docs/ref/models/options.txt | 11 |
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 |
