mirror of
https://github.com/django/django.git
synced 2025-09-22 18:22:40 +00:00
Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.
This commit is contained in:
parent
823d73be3e
commit
fc13a697b4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue