Django
Articles about django
Category articles "Django"
Study all materials on this topic
Bulk Operations in Django ORM
Охватываемые темы: bulkcreate — Mass Creation, bulkupdate — Mass Update, update() — Queryset-Level Update, delete() — Queryset-Level Deletion.
Mixins in Django CBV
Mixins are small classes that add a single behavior to CBVs through multiple inheritance.
get_context_data in Django CBVs
getcontextdata() is a CBV method for passing additional data to a template.
select_related and prefetch_related
Query optimization when working with related objects.
Nested Serializers in DRF
Охватываемые темы: Reading Nested Objects, Write by ID, Read as Object, Nested List (Reverse Relation), Writing Nested Objects.
Django CreateView
CreateView is a CBV for creating an object through a form.
Django Template Filters
Filters are applied to template variables using the | pipe character.
related_name in Django
relatedname is the name used for reverse access from a related model back to its parent.
User Profile Page
Охватываемые темы: Simple Profile (User Data Only), Extending with a Profile Model, Auto-creating a Profile via Signals, Profile Template.
Django Model Relationships
Охватываемые темы: ForeignKey (One-to-Many), ondelete Options, ManyToManyField (Many-to-Many), OneToOneField (One-to-One).
Filtering in Django REST Framework
Охватываемые темы: Simple Filtering via Query Params, django-filter, Search and Ordering, filtersetfields — Quick Setup.
Choices in Django Models
TextChoices is preferred — it provides autocompletion and avoids magic strings.
Other categories
Study related topics
Want more materials?
Subscribe to updates and be the first to know about new articles!