mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.5.X] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 22d5e4b4af from master
This commit is contained in:
parent
18d920ea48
commit
4f99b0b635
@ -172,7 +172,7 @@ context using the lower cased version of the model class' name. This is
|
|||||||
provided in addition to the default ``object_list`` entry, but contains exactly
|
provided in addition to the default ``object_list`` entry, but contains exactly
|
||||||
the same data, i.e. ``publisher_list``.
|
the same data, i.e. ``publisher_list``.
|
||||||
|
|
||||||
If the this still isn't a good match, you can manually set the name of the
|
If this still isn't a good match, you can manually set the name of the
|
||||||
context variable. The ``context_object_name`` attribute on a generic view
|
context variable. The ``context_object_name`` attribute on a generic view
|
||||||
specifies the context variable to use::
|
specifies the context variable to use::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user