Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #263 -- inspectdb output now includes a comment reminding peopl…

…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...
commit dae5863058cc53278bd830be8e89492f62e46117 1 parent a8ecb56
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/core/management.py
View
3  django/core/management.py
@@ -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 ''

0 comments on commit dae5863

Please sign in to comment.
Something went wrong with that request. Please try again.