mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
[1.6.x] Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
Backport of e501d4c505 from master
This commit is contained in:
committed by
Tim Graham
parent
e71ef9b6f2
commit
0aad1f1ea9
@@ -56,7 +56,8 @@ MultipleObjectMixin
|
||||
|
||||
The model that this view will display data for. Specifying ``model
|
||||
= Foo`` is effectively the same as specifying ``queryset =
|
||||
Foo.objects.all()``.
|
||||
Foo.objects.all()``, where ``objects`` stands for ``Foo``’s
|
||||
:ref:`default manager <default-managers>`.
|
||||
|
||||
.. attribute:: queryset
|
||||
|
||||
|
||||
@@ -16,7 +16,8 @@ SingleObjectMixin
|
||||
|
||||
The model that this view will display data for. Specifying ``model
|
||||
= Foo`` is effectively the same as specifying ``queryset =
|
||||
Foo.objects.all()``.
|
||||
Foo.objects.all()``, where ``objects`` stands for ``Foo``’s
|
||||
:ref:`default manager <default-managers>`.
|
||||
|
||||
.. attribute:: queryset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user