1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Normalized spelling of "lowercase" and "lowercased".

This commit is contained in:
Jon Dufresne
2018-09-25 07:30:18 -07:00
committed by Tim Graham
parent abeed587b1
commit 8c3e0eb1c1
15 changed files with 34 additions and 34 deletions

View File

@@ -172,9 +172,9 @@ they're dealing with publishers here.
Well, if you're dealing with a model object, this is already done for you. When
you are dealing with an object or queryset, Django is able to populate the
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
the same data, i.e. ``publisher_list``.
context using the lowercased version of the model class' name. This is provided
in addition to the default ``object_list`` entry, but contains exactly the same
data, i.e. ``publisher_list``.
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