mirror of https://github.com/django/django.git
[1.11.x] Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.
Backport of fc13a697b4
from master
This commit is contained in:
parent
a0707947e4
commit
8f7e6b55e5
|
@ -100,7 +100,7 @@ Single object mixins
|
||||||
|
|
||||||
.. method:: get_context_data(**kwargs)
|
.. method:: get_context_data(**kwargs)
|
||||||
|
|
||||||
Returns context data for displaying the list of objects.
|
Returns context data for displaying the object.
|
||||||
|
|
||||||
The base implementation of this method requires that the ``self.object``
|
The base implementation of this method requires that the ``self.object``
|
||||||
attribute be set by the view (even if ``None``). Be sure to do this if
|
attribute be set by the view (even if ``None``). Be sure to do this if
|
||||||
|
|
Loading…
Reference in New Issue