Materials
intermediate level
Deepen your knowledge with intermediate level materials and practical examples for skill development.
Intermediate level materials
Carefully selected articles for your level
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).
Choices in Django Models
TextChoices is preferred — it provides autocompletion and avoids magic strings.
Messages Framework in Django
A built-in mechanism for displaying one-time messages to the user.
Django REST Framework: Introduction
DRF is the most popular package for building REST APIs in Django.
Template Loading in Django
Recommended: use tasks/templates/tasks/ to avoid name conflicts between applications.
Password Change in Django
Охватываемые темы: Built-in Views, Password Change Template, Email for Password Reset, Password Change in Code.
Django DeleteView
DeleteView is a CBV for deleting an object with a confirmation step.
Pagination in Django ListView
Охватываемые темы: Enabling pagination, Template with pagination, Pagination with filters, Manual pagination (in function-based views).
Django UpdateView
UpdateView is a class-based view for editing an existing object through a form.
login_required: protecting views
If the user is not authenticated, they are redirected to settings.LOGINURL with the ?next=/current-url/ parameter.
Django ORM: Cheatsheet
ORM (Object-Relational Mapping) lets you work with the database through Python objects without writing SQL.
Other difficulty levels
Choose the level that suits you
Advanced level
Complex techniques and concepts for experienced developers
Keep developing
Study materials of different levels and gradually improve your skills