Fixed #263 -- inspectdb output now includes a comment reminding people to run sqlinitialdata. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a8ecb56106
commit
dae5863058
|
@ -446,6 +446,9 @@ def inspectdb(db_name):
|
|||
yield "# * Rearrange models' order"
|
||||
yield "# * Add primary_key=True to one field in each model."
|
||||
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 sqlinitialdata [appname]'"
|
||||
yield "# into your database."
|
||||
yield ''
|
||||
yield 'from django.core import meta'
|
||||
yield ''
|
||||
|
|
Loading…
Reference in New Issue