diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-08-04 14:51:46 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-08-04 14:51:46 +0000 |
| commit | dae5863058cc53278bd830be8e89492f62e46117 (patch) | |
| tree | 1e1ac96143b7a82d11491284a2786bfdd50d83ee /django/core/management.py | |
| parent | a8ecb56106736580270fc9f2bb1dc2d34c764cd7 (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.py | 3 |
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 '' |
