Learn programming with our articles
Practical tutorials, in-depth technology reviews and current trends in the development world from industry experts.
Choose a direction
Each category contains carefully selected materials from experts
Fresh content
The most relevant materials from our experts
The {% url %} Tag in Django
{% url %} is a template tag for generating URLs by route name.
Deploying Django to Railway
Railway is a cloud platform with a free tier. Deploy from GitHub in minutes.
Class-Based Views in Django
CBVs use classes instead of functions. The built-in CBVs implement common CRUD patterns.
Django DetailView
DetailView is a CBV for displaying a single object by its pk or slug.
Databases in Django
Охватываемые темы: Supported Database Backends, Configuring SQLite (default), Configuring PostgreSQL, Via environment variable (recommended).
SECRET_KEY in Django
This will raise a clear error if the variable is not set.
Django Shell
Django Shell is an interactive Python console with the full Django environment loaded.
manage.py: Django commands
manage.py is Django's command-line utility. Every interaction with a project goes through it.
Date Formats in Django
Охватываемые темы: Date fields in a model, Working with dates in Python, Formatting in templates,...
Internationalization (i18n) in Django
Охватываемые темы: Configuration, Translating strings in Python, Translating in templates, Creating translation files.
Overriding get_queryset in Django CBVs
getqueryset() is a method for customizing the dataset used in a CBV.
ForeignKey and on_delete in Django
Охватываемые темы: ondelete — behavior when the parent is deleted, ondelete options, Examples, relatedname.
Want to share your knowledge?
Become an author on our blog and help other developers learn new technologies