summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2018-09-12 01:36:15 +0100
committerTim Graham <timograham@gmail.com>2018-10-02 14:01:24 -0400
commit45ef3df7d07489ee0b76479cc799faa92e443a69 (patch)
tree1b91f9ef203a2175ae644c6c7c319b3d4f866291 /docs
parent31edb106b5ce3aa125121b748782743f19338307 (diff)
Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.
Thanks infinite-l00p for the initial patch.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt12
-rw-r--r--docs/releases/2.2.txt2
2 files changed, 14 insertions, 0 deletions
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
~~~~~~~~~~