1. Luke Plant
  2. django


kmtr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 165dfdb

Fixed doc markup error that resulted in no anchor tag for the model admin queryset method.

  • Participants
  • Parent commits b8f240c
  • Branches default

Comments (0)

Files changed (1)

File docs/ref/contrib/admin/index.txt

View file
  • Ignore whitespace
 This uses the ``HttpRequest`` instance to filter the ``Car`` foreign key field
 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
 :class:`~django.db.models.QuerySet` of all model instances that can be