summaryrefslogtreecommitdiff
path: root/django/core/management.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-04 14:51:46 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-04 14:51:46 +0000
commitdae5863058cc53278bd830be8e89492f62e46117 (patch)
tree1e1ac96143b7a82d11491284a2786bfdd50d83ee /django/core/management.py
parenta8ecb56106736580270fc9f2bb1dc2d34c764cd7 (diff)
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
Diffstat (limited to 'django/core/management.py')
-rw-r--r--django/core/management.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/core/management.py b/django/core/management.py
index 9e8abb4614..fd7af65563 100644
--- a/django/core/management.py
+++ b/django/core/management.py
@@ -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 ''