Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…e to run sqlinitialdata. Thanks, Hugo

git-svn-id: 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/
3  django/core/
@@ -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 ' sqlinitialdata [appname]'"
+ yield "# into your database."
yield ''
yield 'from django.core import meta'
yield ''
Please sign in to comment.
Something went wrong with that request. Please try again.