diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-06-03 12:39:48 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-06-10 16:57:50 +0200 |
| commit | 430f7e9dac9d895337b98fe2af63568da2d04e54 (patch) | |
| tree | 54eba27973d4d8f062629f6a0764c72f4fcf8ecb /docs | |
| parent | 6dca3361670d5a92dbe0954515d63c1e9db7cbcb (diff) | |
[2.2.x] Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0.
Backport of 5ab75adb900ca3fce50e65e60b11f2eb3ce9fd25 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/db-api.txt | 8 | ||||
| -rw-r--r-- | docs/ref/middleware.txt | 7 | ||||
| -rw-r--r-- | docs/topics/forms/formsets.txt | 3 | ||||
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 3 | ||||
| -rw-r--r-- | docs/topics/i18n/translation.txt | 2 |
5 files changed, 6 insertions, 17 deletions
diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index d5ddb2564c..7497e60377 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/docs/ref/contrib/gis/db-api.txt @@ -17,9 +17,6 @@ GeoDjango currently provides the following spatial database backends: * ``django.contrib.gis.db.backends.oracle`` * ``django.contrib.gis.db.backends.spatialite`` -.. module:: django.contrib.gis.db.models - :synopsis: GeoDjango's database API. - .. _mysql-spatial-limitations: MySQL Spatial Limitations @@ -360,12 +357,11 @@ Lookup Type PostGIS Oracle MySQL [#]_ SpatiaLite Database functions ------------------ -.. module:: django.contrib.gis.db.models.functions - :synopsis: GeoDjango's database functions. - The following table provides a summary of what geography-specific database functions are available on each spatial backend. +.. currentmodule:: django.contrib.gis.db.models.functions + ==================================== ======= ============== =========== ========== Function PostGIS Oracle MySQL SpatiaLite ==================================== ======= ============== =========== ========== diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 627de6edc9..62df23c7dc 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -380,9 +380,7 @@ details. CSRF protection middleware -------------------------- -.. module:: django.middleware.csrf - :synopsis: Middleware adding protection against Cross Site Request - Forgeries. +.. currentmodule:: django.middleware.csrf .. class:: CsrfViewMiddleware @@ -393,8 +391,7 @@ fields to POST forms and checking requests for the correct value. See the ``X-Frame-Options`` middleware ------------------------------ -.. module:: django.middleware.clickjacking - :synopsis: Clickjacking protection +.. currentmodule:: django.middleware.clickjacking .. class:: XFrameOptionsMiddleware diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt index fa1d7c76d8..a790ec16fe 100644 --- a/docs/topics/forms/formsets.txt +++ b/docs/topics/forms/formsets.txt @@ -2,8 +2,7 @@ Formsets ======== -.. module:: django.forms.formsets - :synopsis: An abstraction for working with multiple forms on the same page. +.. currentmodule:: django.forms.formsets .. class:: BaseFormSet diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 4073bc6e27..2a13c2d1df 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -2,9 +2,6 @@ Creating forms from models ========================== -.. module:: django.forms.models - :synopsis: ModelForm and ModelFormset. - .. currentmodule:: django.forms ``ModelForm`` diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 421785b085..b52e18e189 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -2,7 +2,7 @@ Translation =========== -.. module:: django.utils.translation +.. currentmodule:: django.utils.translation Overview ======== |
