Fixed doc markup error that resulted in no anchor tag for the model admin queryset method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
70a8f07006
commit
111d361d61
|
@ -871,7 +871,7 @@ return a subset of objects for this foreign key field based on the user::
|
||||||
This uses the ``HttpRequest`` instance to filter the ``Car`` foreign key field
|
This uses the ``HttpRequest`` instance to filter the ``Car`` foreign key field
|
||||||
to only the cars owned by the ``User`` instance.
|
to only the cars owned by the ``User`` instance.
|
||||||
|
|
||||||
.. method:: ModelAdmin.queryset(self, request):
|
.. method:: ModelAdmin.queryset(self, request)
|
||||||
|
|
||||||
The ``queryset`` method on a ``ModelAdmin`` returns a
|
The ``queryset`` method on a ``ModelAdmin`` returns a
|
||||||
:class:`~django.db.models.QuerySet` of all model instances that can be
|
:class:`~django.db.models.QuerySet` of all model instances that can be
|
||||||
|
|
Loading…
Reference in New Issue