Skip to content

Commit

Permalink
Fixed #263 -- inspectdb output now includes a comment reminding peopl…
Browse files Browse the repository at this point in the history
…e to run sqlinitialdata. Thanks, Hugo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Aug 4, 2005
1 parent a8ecb56 commit dae5863
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions django/core/management.py
Expand Up @@ -446,6 +446,9 @@ def table2model(table_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 ''
Expand Down

0 comments on commit dae5863

Please sign in to comment.