diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-25 07:30:18 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-09-25 10:30:18 -0400 |
| commit | 8c3e0eb1c16abbcded3503b4ea3473b353520f61 (patch) | |
| tree | 1536a0599e8cbae25b3079d27571593fcb59613f /docs/topics/class-based-views/generic-display.txt | |
| parent | abeed587b119197270a885830619694b2c5ba1f1 (diff) | |
Normalized spelling of "lowercase" and "lowercased".
Diffstat (limited to 'docs/topics/class-based-views/generic-display.txt')
| -rw-r--r-- | docs/topics/class-based-views/generic-display.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/class-based-views/generic-display.txt b/docs/topics/class-based-views/generic-display.txt index b734eb5d2b..8e39ad6c14 100644 --- a/docs/topics/class-based-views/generic-display.txt +++ b/docs/topics/class-based-views/generic-display.txt @@ -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 |
