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

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

Informations de téléchargement et détails de la vidéo #15. Классы представлений: ListView, DetailView, CreateView | Django уроки

Auteur :

selfedu

Publié le :

06/02/2021

Vues :

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().