Fixed Sphinx warnings on duplicate object descriptions.
This commit is contained in:
parent
ad811335bd
commit
69e2cd6fed
|
@ -12,10 +12,13 @@ topic guide </topics/auth/index>`.
|
|||
``User`` model
|
||||
==============
|
||||
|
||||
.. class:: models.User
|
||||
|
||||
Fields
|
||||
------
|
||||
|
||||
.. class:: models.User
|
||||
:noindex:
|
||||
|
||||
:class:`~django.contrib.auth.models.User` objects have the following
|
||||
fields:
|
||||
|
@ -119,6 +122,7 @@ Attributes
|
|||
----------
|
||||
|
||||
.. class:: models.User
|
||||
:noindex:
|
||||
|
||||
.. attribute:: is_authenticated
|
||||
|
||||
|
@ -144,6 +148,7 @@ Methods
|
|||
-------
|
||||
|
||||
.. class:: models.User
|
||||
:noindex:
|
||||
|
||||
.. method:: get_username()
|
||||
|
||||
|
@ -363,6 +368,7 @@ Fields
|
|||
fields:
|
||||
|
||||
.. class:: models.Permission
|
||||
:noindex:
|
||||
|
||||
.. attribute:: name
|
||||
|
||||
|
@ -394,6 +400,7 @@ Fields
|
|||
:class:`~django.contrib.auth.models.Group` objects have the following fields:
|
||||
|
||||
.. class:: models.Group
|
||||
:noindex:
|
||||
|
||||
.. attribute:: name
|
||||
|
||||
|
|
|
@ -328,7 +328,7 @@ Lookup Type PostGIS Oracle MariaDB MySQL [#]_ Sp
|
|||
:lookup:`distance_lte` X X X X X N
|
||||
:lookup:`dwithin` X X X B
|
||||
:lookup:`equals` X X X X X C
|
||||
:lookup:`exact` X X X X X B
|
||||
:lookup:`exact <same_as>` X X X X X B
|
||||
:lookup:`intersects` X X X X X B
|
||||
:lookup:`isvalid` X X X (≥ 5.7.5) X (LWGEOM)
|
||||
:lookup:`overlaps` X X X X X B
|
||||
|
|
|
@ -314,6 +314,7 @@ SpatiaLite ``Equals(poly, geom)``
|
|||
boxes.
|
||||
|
||||
.. fieldlookup:: exact
|
||||
:noindex:
|
||||
.. fieldlookup:: same_as
|
||||
|
||||
``exact``, ``same_as``
|
||||
|
|
|
@ -203,6 +203,7 @@ the directories which were searched:
|
|||
-------------
|
||||
|
||||
.. django-admin:: runserver [addrport]
|
||||
:noindex:
|
||||
|
||||
Overrides the core :djadmin:`runserver` command if the ``staticfiles`` app
|
||||
is :setting:`installed<INSTALLED_APPS>` and adds automatic serving of static
|
||||
|
|
|
@ -677,14 +677,17 @@ Usage example::
|
|||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. class:: TruncHour(expression, output_field=None, tzinfo=None, is_dst=None, **extra)
|
||||
:noindex:
|
||||
|
||||
.. attribute:: kind = 'hour'
|
||||
|
||||
.. class:: TruncMinute(expression, output_field=None, tzinfo=None, is_dst=None, **extra)
|
||||
:noindex:
|
||||
|
||||
.. attribute:: kind = 'minute'
|
||||
|
||||
.. class:: TruncSecond(expression, output_field=None, tzinfo=None, is_dst=None, **extra)
|
||||
:noindex:
|
||||
|
||||
.. attribute:: kind = 'second'
|
||||
|
||||
|
|
|
@ -855,6 +855,7 @@ must define some additional attributes and methods. These methods allow the
|
|||
admin to control access of the user to admin content:
|
||||
|
||||
.. class:: models.CustomUser
|
||||
:noindex:
|
||||
|
||||
.. attribute:: is_staff
|
||||
|
||||
|
|
Loading…
Reference in New Issue