diff options
| author | Tim Graham <timograham@gmail.com> | 2014-03-25 10:17:23 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-25 14:03:02 -0400 |
| commit | 7eaf329ad38ff7ea6b47f1b0a3c20ca7a5ad079b (patch) | |
| tree | ec335e9cc6eb4f0aa69a9263c3c1a69df2854a80 /django | |
| parent | d84beb3d9105300a94061dd94911a0c3cd9021d2 (diff) | |
[1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
refs #14305.
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/core/management/commands/inspectdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/commands/inspectdb.py b/django/core/management/commands/inspectdb.py index c9d7e33bac..f4c8003a41 100644 --- a/django/core/management/commands/inspectdb.py +++ b/django/core/management/commands/inspectdb.py @@ -42,7 +42,7 @@ class Command(NoArgsCommand): yield "# You'll have to do the following manually to clean this up:" yield "# * Rearrange models' order" yield "# * Make sure each model has one field with primary_key=True" - yield "# * Remove `managed = False` lines for those models you wish to give write DB access" + yield "# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table" yield "# Feel free to rename the models, but don't rename db_table values or field names." yield "#" yield "# Also note: You'll have to insert the output of 'django-admin.py sqlcustom [app_label]'" |
