Learn programming with our articles
Practical tutorials, in-depth technology breakdowns, and the latest development trends from industry experts.
Fresh content
The most relevant materials from our experts
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),...
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...
User Profile Page
Covered topics: Simple Profile (User Data Only), Extending with a Profile Model, Auto-creating a Profile...
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...
Messages Framework in Django
A built-in mechanism for displaying one-time messages to the user.
Squashing Migrations in Django
Squash β compressing multiple migrations into one to simplify the history.
Choose a direction
Each category contains carefully selected materials from experts
Want to share your knowledge?
Become an author on our blog and help other developers learn new technologiesBecome an author on our blog and help other developers learn new technologies