Skip to content

Glossary: Django Beyond the Basics

context_object_name

An attribute of `ListView` that sets the template variable name for the objects. Without it they arrive as `object_list`.

Where the book teaches it

Related terms

ListViewget_queryset()