From 95c2ce678f823a2d6b0eb8ddbb1c20b13093842e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 2 Oct 2018 13:29:18 -0400 Subject: [2.1.x] Removed docs for obsolete limitations of inspectdb. Backport of 31edb106b5ce3aa125121b748782743f19338307 from master. --- docs/ref/django-admin.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'docs/ref') 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 -- cgit v1.3