Browse files

Reworded comment atop inspectdb-generated models to imply primary_key…

… may now be introspected

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 64153ef commit 4d1bb30480b74f83a144d46fdce626b818304a46 @adrianholovaty adrianholovaty committed Feb 18, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/
@@ -581,7 +581,7 @@ def table2model(table_name):
yield "# This is an auto-generated Django model module."
yield "# You'll have to do the following manually to clean this up:"
yield "# * Rearrange models' order"
- yield "# * Add primary_key=True to one field in each model."
+ yield "# * Make sure each model has one field with primary_key=True"
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]'"

0 comments on commit 4d1bb30

Please sign in to comment.