diff options
| author | Tim Graham <timograham@gmail.com> | 2018-10-02 13:29:18 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-02 13:29:32 -0400 |
| commit | 95c2ce678f823a2d6b0eb8ddbb1c20b13093842e (patch) | |
| tree | 193f14cef441e818cb457330b530389741f4d4ac /docs/ref | |
| parent | f0759305d03be544f0fc147811c1c461b5978624 (diff) | |
[2.1.x] Removed docs for obsolete limitations of inspectdb.
Backport of 31edb106b5ce3aa125121b748782743f19338307 from master.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 3464fdbe37..da5069bac7 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -385,13 +385,6 @@ you run it, you'll want to look over the generated models yourself to make customizations. In particular, you'll need to rearrange models' order, so that models that refer to other models are ordered properly. -Primary keys are automatically introspected for PostgreSQL, MySQL and -SQLite, in which case Django puts in the ``primary_key=True`` where -needed. - -``inspectdb`` works with PostgreSQL, MySQL and SQLite. Foreign-key detection -only works in PostgreSQL and with certain types of MySQL tables. - Django doesn't create database defaults when a :attr:`~django.db.models.Field.default` is specified on a model field. Similarly, database defaults aren't translated to model field defaults or |
