#15. Классы представлений: ListView, DetailView, CreateView | Django уроки

#15. Классы представлений: ListView, DetailView, CreateView | Django уроки29:45

Download information and video details for #15. Классы представлений: ListView, DetailView, CreateView | Django уроки

Uploader:

selfedu

Published at:

2/6/2021

Views:

83K

Description:

In this practical course, we explore Django class‑based views, including ListView, DetailView, and CreateView, covering attributes such as model, template_name, context_object_name, extra_context, and allow_empty, as well as methods like get_context_data() and get_queryset(). We also discuss DetailView attributes slug_url_kwarg and pk_url_kwarg, CreateView attributes form_class and success_url, and the difference between reverse_lazy() and reverse().