#django
Explore materials tagged "django" from expert practitioners. Up-to-date articles and useful tips to help you grow.
Articles with tag "#django"
All materials on the topic django
Authentication in DRF
DRF supports several authentication methods. The right choice depends on the client type, threat model, and API deployment architecture.
DRF ViewSets and Routers
ViewSet is a class that combines several related views into one. Router automatically generates URLs.
Django Migrations
A migration is a file describing changes to the database schema. Django tracks the state of your models and generates...
Inline Editing in Django Admin
Inline allows you to edit related objects directly on the parent object's page.
Configuring Django REST Framework
Covered topics: Installation, Core RESTFRAMEWORK Settings, Custom Pagination, Error Response Format.
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.
Similar tags
Study related topics
Looking for more on the topic?
Study all our materials or subscribe to updates