Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
This commit is contained in:
parent
fd5897193f
commit
5359188b08
|
@ -296,14 +296,16 @@ Fields
|
||||||
:class:`~django.contrib.auth.models.Permission` objects have the following
|
:class:`~django.contrib.auth.models.Permission` objects have the following
|
||||||
fields:
|
fields:
|
||||||
|
|
||||||
|
.. class:: models.Permission
|
||||||
|
|
||||||
.. attribute:: name
|
.. attribute:: name
|
||||||
|
|
||||||
Required. 50 characters or fewer. Example: ``'Can vote'``.
|
Required. 50 characters or fewer. Example: ``'Can vote'``.
|
||||||
|
|
||||||
.. attribute:: content_type
|
.. attribute:: content_type
|
||||||
|
|
||||||
Required. A reference to the ``django_content_type`` database table, which
|
Required. A reference to the ``django_content_type`` database table,
|
||||||
contains a record for each installed Django model.
|
which contains a record for each installed model.
|
||||||
|
|
||||||
.. attribute:: codename
|
.. attribute:: codename
|
||||||
|
|
||||||
|
@ -325,6 +327,8 @@ Fields
|
||||||
|
|
||||||
:class:`~django.contrib.auth.models.Group` objects have the following fields:
|
:class:`~django.contrib.auth.models.Group` objects have the following fields:
|
||||||
|
|
||||||
|
.. class:: models.Group
|
||||||
|
|
||||||
.. attribute:: name
|
.. attribute:: name
|
||||||
|
|
||||||
Required. 80 characters or fewer. Any characters are permitted. Example:
|
Required. 80 characters or fewer. Any characters are permitted. Example:
|
||||||
|
|
Loading…
Reference in New Issue