Django
Articles about django
Category articles "Django"
Study all materials on this topic
Search in Django
Requires PostgreSQL and django.contrib.postgres in INSTALLEDAPPS.
Swagger Documentation with drf-spectacular
drf-spectacular generates an OpenAPI 3.0 schema and Swagger UI for DRF.
settings.py: Django Configuration
settings.py is the central configuration file for a Django project.
DRF Serializers
A serializer converts model objects to and from a Python dict and JSON.
Django Project Structure
After running django-admin startproject mysite, the following standard structure is created:
CSRF Protection in Django
CSRF (Cross-Site Request Forgery) is an attack in which an adversary tricks the user's browser into sending a request on...
Django Model Fields
A model is a Python class that describes a database table. Each field represents a column.
Authentication in DRF
Works like standard Django — via a session cookie. Suitable for browser-based clients.
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
Охватываемые темы: Installation, Core RESTFRAMEWORK Settings, Custom Pagination, Error Response Format.
Other categories
Study related topics
Want more materials?
Subscribe to updates and be the first to know about new articles!