From 45ef3df7d07489ee0b76479cc799faa92e443a69 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 12 Sep 2018 01:36:15 +0100 Subject: Fixed #29719 -- Added introspection of foreign tables for PostgreSQL. Thanks infinite-l00p for the initial patch. --- docs/ref/django-admin.txt | 12 ++++++++++++ docs/releases/2.2.txt | 2 ++ 2 files changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index b94bcbea9e..b6a2319341 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -395,6 +395,18 @@ table's lifecycle, you'll need to change the :attr:`~django.db.models.Options.managed` option to ``True`` (or simply remove it because ``True`` is its default value). +Database-specific notes +~~~~~~~~~~~~~~~~~~~~~~~ + +PostgreSQL +^^^^^^^^^^ + +* Models are created for foreign tables. + +.. versionchanged:: 2.2 + + Support for foreign tables was added. + .. django-admin-option:: --database DATABASE Specifies the database to introspect. Defaults to ``default``. diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index b308ec95d3..95aded1920 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -177,6 +177,8 @@ Management Commands * The new :option:`--force-color` option forces colorization of the command output. +* :djadmin:`inspectdb` now creates models for foreign tables on PostgreSQL. + Migrations ~~~~~~~~~~ -- cgit v1.3