summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-02-18 22:06:42 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-02-18 22:06:42 +0000
commit4d1bb30480b74f83a144d46fdce626b818304a46 (patch)
tree2d74116eb721b95daa1a06a2c0e6359746435e1c
parent64153ef4d5ecd838c61eaa785e79856469afa83b (diff)
Reworded comment atop inspectdb-generated models to imply primary_key may now be introspected
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/core/management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management.py b/django/core/management.py
index de1153af80..5c5f067892 100644
--- a/django/core/management.py
+++ b/django/core/management.py
@@ -581,7 +581,7 @@ def inspectdb(db_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 'django-admin.py sqlinitialdata [appname]'"