mirror of https://github.com/django/django.git
[1.7.x] Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.
Backport of 5359188b08
from master
This commit is contained in:
parent
43d7566cc9
commit
24ba5f7fb2
docs/ref/contrib
|
@ -307,14 +307,16 @@ Fields
|
|||
:class:`~django.contrib.auth.models.Permission` objects have the following
|
||||
fields:
|
||||
|
||||
.. class:: models.Permission
|
||||
|
||||
.. attribute:: name
|
||||
|
||||
Required. 50 characters or fewer. Example: ``'Can vote'``.
|
||||
|
||||
.. attribute:: content_type
|
||||
|
||||
Required. A reference to the ``django_content_type`` database table, which
|
||||
contains a record for each installed Django model.
|
||||
Required. A reference to the ``django_content_type`` database table,
|
||||
which contains a record for each installed model.
|
||||
|
||||
.. attribute:: codename
|
||||
|
||||
|
@ -336,6 +338,8 @@ Fields
|
|||
|
||||
:class:`~django.contrib.auth.models.Group` objects have the following fields:
|
||||
|
||||
.. class:: models.Group
|
||||
|
||||
.. attribute:: name
|
||||
|
||||
Required. 80 characters or fewer. Any characters are permitted. Example:
|
||||
|
|
Loading…
Reference in New Issue