Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0.

This commit is contained in:
Mariusz Felisiak 2019-06-03 12:39:48 +02:00
parent b27c9c953b
commit 5ab75adb90
5 changed files with 6 additions and 17 deletions

View File

@ -17,9 +17,6 @@ GeoDjango currently provides the following spatial database backends:
* ``django.contrib.gis.db.backends.oracle`` * ``django.contrib.gis.db.backends.oracle``
* ``django.contrib.gis.db.backends.spatialite`` * ``django.contrib.gis.db.backends.spatialite``
.. module:: django.contrib.gis.db.models
:synopsis: GeoDjango's database API.
.. _mysql-spatial-limitations: .. _mysql-spatial-limitations:
MySQL Spatial Limitations MySQL Spatial Limitations
@ -354,12 +351,11 @@ Lookup Type PostGIS Oracle MySQL [#]_ SpatiaLite
Database functions 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 The following table provides a summary of what geography-specific database
functions are available on each spatial backend. functions are available on each spatial backend.
.. currentmodule:: django.contrib.gis.db.models.functions
==================================== ======= ============== =========== ========== ==================================== ======= ============== =========== ==========
Function PostGIS Oracle MySQL SpatiaLite Function PostGIS Oracle MySQL SpatiaLite
==================================== ======= ============== =========== ========== ==================================== ======= ============== =========== ==========

View File

@ -380,9 +380,7 @@ details.
CSRF protection middleware CSRF protection middleware
-------------------------- --------------------------
.. module:: django.middleware.csrf .. currentmodule:: django.middleware.csrf
:synopsis: Middleware adding protection against Cross Site Request
Forgeries.
.. class:: CsrfViewMiddleware .. class:: CsrfViewMiddleware
@ -393,8 +391,7 @@ fields to POST forms and checking requests for the correct value. See the
``X-Frame-Options`` middleware ``X-Frame-Options`` middleware
------------------------------ ------------------------------
.. module:: django.middleware.clickjacking .. currentmodule:: django.middleware.clickjacking
:synopsis: Clickjacking protection
.. class:: XFrameOptionsMiddleware .. class:: XFrameOptionsMiddleware

View File

@ -2,8 +2,7 @@
Formsets Formsets
======== ========
.. module:: django.forms.formsets .. currentmodule:: django.forms.formsets
:synopsis: An abstraction for working with multiple forms on the same page.
.. class:: BaseFormSet .. class:: BaseFormSet

View File

@ -2,9 +2,6 @@
Creating forms from models Creating forms from models
========================== ==========================
.. module:: django.forms.models
:synopsis: ModelForm and ModelFormset.
.. currentmodule:: django.forms .. currentmodule:: django.forms
``ModelForm`` ``ModelForm``

View File

@ -2,7 +2,7 @@
Translation Translation
=========== ===========
.. module:: django.utils.translation .. currentmodule:: django.utils.translation
Overview Overview
======== ========