Commit 5359188b authored by Tim Graham's avatar Tim Graham
Browse files

Fixed docs/ref/contrib/auth.txt so that sphinx links work properly.

parent fd589719
Loading
Loading
Loading
Loading
+20 −16
Original line number Diff line number Diff line
@@ -296,14 +296,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

@@ -325,6 +327,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: