ls -la blog/
Filter by tags:
Standard HTTP is strictly Request-Response. To build a real-time chat or notification system, you need persistent connections. Learn how to upgrade Django from WSGI to ASGI using Django Channels.
Standard Django testing is verbose. Discover why the Python community is moving to Pytest, how to use Fixtures effectively, and how to reduce your testing boilerplate by 50%.
Tired of hitting three different API endpoints just to render one profile page? We compare the traditional REST approach with the flexible query power of GraphQL using Graphene-Django.
Middleware is the "Onion" of Django. Learn how to write custom hooks that process every request entering your application and every response leaving it.
The runserver command is not for production! Learn how to set up a robust production server using Gunicorn as the WSGI application server and Nginx as the reverse proxy.
Don't let your users wait. Learn how to offload time-consuming tasks like email sending and image processing to background workers using Celery and Redis.
Hardcoding API keys in your settings file is a security recipe for disaster. Learn how to use python-decouple to manage your environment variables safely.
Learn how to use Django Signals to decouple your application logic. We explore the classic use case of auto-creating User Profiles and discuss when you should avoid signals.
Stop manually running tests. Set up a Continuous Integration pipeline that automatically tests your code every time you push to GitHub.
Is your Django app running slow? The culprit is likely your database queries. Learn how to use select_related, prefetch_related, and indexes to speed up your application.
Stop the "it works on my machine" excuses. Learn how to containerize your Django and PostgreSQL application using Docker and Docker Compose.
Essential strategies for optimizing database queries and improving application performance in Django applications.
A deep dive into creating robust REST APIs using Django REST Framework, including serializers, viewsets, and authentication.
Learn the fundamentals of Django web framework, from setting up your first project to creating models and views.