summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-30 14:23:29 -0400
committerTim Graham <timograham@gmail.com>2015-06-30 14:23:29 -0400
commit9f0d67137c98aa296471e1b7f57ae43f5bb17db6 (patch)
treeee29b2ce1c707b9a550d04028d1676f01599cd18 /docs/ref/django-admin.txt
parent4352e865a75923a0e5036b4e9ba2a8f0bfae3d63 (diff)
Fixed #25038 -- Reverted incorrect documentation about inspectdb introspecting views.
This reverts commit bd691f4586c8ad45bd059ff9d3621cbf8afdcdce (refs #24177).
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt15
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 59c7cb03cb..23c4de9fab 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -332,17 +332,17 @@ inspectdb
.. django-admin:: inspectdb
-Introspects the database tables and views in the database pointed-to by the
+Introspects the database tables in the database pointed-to by the
:setting:`NAME` setting and outputs a Django model module (a ``models.py``
file) to standard output.
Use this if you have a legacy database with which you'd like to use Django.
-The script will inspect the database and create a model for each table or view
-within it.
+The script will inspect the database and create a model for each table within
+it.
As you might expect, the created models will have an attribute for every field
-in the table or view. Note that ``inspectdb`` has a few special cases in its
-field-name output:
+in the table. Note that ``inspectdb`` has a few special cases in its field-name
+output:
* If ``inspectdb`` cannot map a column's type to a model field type, it'll
use ``TextField`` and will insert the Python comment
@@ -385,11 +385,6 @@ it because ``True`` is its default value).
The :djadminopt:`--database` option may be used to specify the
database to introspect.
-.. versionadded:: 1.8
-
- A feature to inspect database views was added. In previous versions, only
- tables (not views) were inspected.
-
loaddata <fixture fixture ...>
------------------------------