mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.6.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
refs #14305.
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b from master
			
			
This commit is contained in:
		| @@ -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 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 [appname]'" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user