Category articles "Django"
Study all materials on this topic
Bulk Operations in Django ORM
Covered topics: 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
Covered topics: 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
Covered topics: Simple Profile (User Data Only), Extending with a Profile Model, Auto-creating a Profile via Signals, Profile Template.
Django Model Relationships
Covered topics: ForeignKey (One-to-Many), ondelete Options, ManyToManyField (Many-to-Many), OneToOneField (One-to-One).
Filtering in Django REST Framework
Covered topics: Simple Filtering via Query Params, django-filter, Search and Ordering, filtersetfields — Quick Setup.
Choices in Django Models
Use TextChoices to define a model field's limited set of values in one place for application code, forms, and the...
Other categories
Study related topics
Want more materials?
Subscribe to updates and be the first to know about new articles!