diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/databases.txt | 7 | ||||
| -rw-r--r-- | docs/ref/django-admin.txt | 6 | ||||
| -rw-r--r-- | docs/releases/2.2.txt | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index 39b3fb9898..98f14629bb 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -764,9 +764,10 @@ and a user granted ``RESOURCE WITH ADMIN OPTION`` can grant ``RESOURCE``, such a user cannot grant the individual privileges (e.g. ``CREATE TABLE``), and thus ``RESOURCE WITH ADMIN OPTION`` is not usually sufficient for running tests. -Some test suites also create views; to run these, the user also needs -the ``CREATE VIEW WITH ADMIN OPTION`` privilege. In particular, this is needed -for Django's own test suite. +Some test suites also create views or materialized views; to run these, the +user also needs ``CREATE VIEW WITH ADMIN OPTION`` and +``CREATE MATERIALIZED VIEW WITH ADMIN OPTION`` privileges. In particular, this +is needed for Django's own test suite. All of these privileges are included in the DBA role, which is appropriate for use on a private developer's database. diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 6a3294788a..19f1d046fe 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -399,6 +399,12 @@ it because ``True`` is its default value). Database-specific notes ~~~~~~~~~~~~~~~~~~~~~~~ +Oracle +^^^^^^ + +* Models are created for materialized views if :option:`--include-views` is + used. + PostgreSQL ^^^^^^^^^^ diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 8a15262ff9..7cabba3ad6 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -182,7 +182,7 @@ Management Commands * :djadmin:`inspectdb` now creates models for foreign tables on PostgreSQL. * :option:`inspectdb --include-views` now creates models for materialized views - on PostgreSQL. + on Oracle and PostgreSQL. * The new :option:`inspectdb --include-partitions` option allows creating models for partition tables on PostgreSQL. In older versions, models are |
