summaryrefslogtreecommitdiff
path: root/docs/django-admin.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-02-18 22:14:05 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-02-18 22:14:05 +0000
commitf594bc4445798cfa455a85291e2a8975eeb4f6dc (patch)
treecafc49fb087ac84fcc5dfe9a66e15507f843eb6f /docs/django-admin.txt
parent77a0a9498fdfdb73a896123aad17f4bace3ee9e3 (diff)
magic-removal: Merged to [2350]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/django-admin.txt')
-rw-r--r--docs/django-admin.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/django-admin.txt b/docs/django-admin.txt
index 36ebe8ba67..45cc2363dc 100644
--- a/docs/django-admin.txt
+++ b/docs/django-admin.txt
@@ -112,12 +112,13 @@ output:
This feature is meant as a shortcut, not as definitive model generation. After
you run it, you'll want to look over the generated models yourself to make
-customizations. In particular, you'll need to do this:
+customizations. In particular, you'll need to rearrange models' order, so that
+models that refer to other models are ordered properly.
- * Rearrange models' order, so that models that refer to other models are
- ordered properly.
- * Add ``primary_key=True`` to one field in each model. The ``inspectdb``
- doesn't yet introspect primary keys.
+If you're using Django 0.90 or 0.91, you'll need to add ``primary_key=True`` to
+one field in each model. In the Django development version, primary keys are
+automatically introspected for PostgreSQL and MySQL, and Django puts in the
+``primary_key=True`` where needed.
``inspectdb`` works with PostgreSQL, MySQL and SQLite. Foreign-key detection
only works in PostgreSQL.