Django
Articles about django
Category articles "Django"
Study all materials on this topic
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.
Django: Next Steps
You've mastered the Django fundamentals. Where to go from here?
Django Templates: Introduction
Django Template Language (DTL) is a simple templating language for generating HTML.
Project vs Application in Django
One project can contain many applications. An application can be reused in another project.
Views in Django: Handling Requests
A view is a function or class that receives an HTTP request and returns an HTTP response.
Environment Variables in Django
Охватываемые темы: Why use environment variables, python-dotenv, django-environ (alternative), .gitignore.
SuccessMessageMixin in Django
SuccessMessageMixin is a mixin for displaying a flash message after a form is successfully submitted in a class-based view.
Timezones in Django
Django stores all DateTimeField values in UTC when USETZ=True. Conversion to local time happens at the display layer.
Django Versions: What's New
Охватываемые темы: Current LTS Versions, Key Changes in Django 4.x, Key Changes in Django 5.x, Recommendations.
URL Routing in Django
Django maps URLs to views via urlpatterns.
Authentication in Django
Django includes a complete authentication system: the User model, login/logout, and permissions.
Other categories
Study related topics
Want more materials?
Subscribe to updates and be the first to know about new articles!