Configure VS Code to debug a Django app running inside of Docker.
Django is a Python-based web framework designed to alleviate the many pain points developers encounter when building modern web applications. It features an easy to follow MTV (model, template, view) architecture, a modern database relationship manager, and a powerful administrative system to aid in quickly building out data (which is great for rapid prototyping). Django applications are typically fast, easy to scale, and, when following best practices, accessible to developers of various skill levels.
Further, most of the articles and tutorials in this section are on the more intermediate to advanced side that cover testing, caching, best practices, deployment, containerizing, securing, and implementing Celery.
Latest Posts (49)
Configure a containerized Django app running on an EC2 instance to send logs to CloudWatch.
Accept crypto Payments with Django and Coinbase Commerce.
Add basic and full-text search to a Django app with Postgres.
Deep dive into Django REST Framework's most powerful view, ViewSets.
Shows you how to configure PyCharm for debugging a Django app running inside of Docker.
Use Django REST Framework's Generic Views to prevent repeating certain patterns over and over again.
Deep dive into how Django REST Framework's views work and its most basic view, APIView.
Configure Django to load and serve up static and media files, public and private, via DigitalOcean Spaces.
Looks at how to integrate Django REST Framework with Elasticsearch.
This tutorial details how to configure Django to run on Docker along with Postgres, Nginx, and Gunicorn.
Secure a containerized Django app running behind an HTTPS Nginx proxy with Let's Encrypt SSL certificates.
Deploy a Django app to AWS EC2 with Docker and Let's Encrypt.
How to use the low-level cache API in Django.
Perform GET, POST, PUT, and DELETE AJAX requests in Django with the Fetch API and jQuery.
Add multiple language support to your Django project.
Detailed look at Django's built-in caching options.
Configure GitLab CI to continuously deploy a Django and Docker application to AWS EC2.
How to build custom permission classes in Django REST Framework.
This post looks at how to manage periodic tasks with Django, Celery, and Docker.
Configure GitHub Actions to continuously deploy a Django and Docker application to DigitalOcean.
How the built-in permission classes work in Django REST Framework.
Walks you through the Behavior-Driven Development (BDD) development cycle by programming an example feature using Django and Aloe.
Configure GitLab CI to continuously deploy a Django and Docker application to DigitalOcean.
This post looks at how to configure Celery to handle long-running tasks in a Django app.
How permissions work in Django REST Framework.
This tutorial details how to configure Django to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
This post explains step-by-step how to create a custom User model in Django.
This post looks at how to set up automated performance tests to uncover and prevent inefficient database queries.
Configure Django to load and serve up static and media files, public and private, via an Amazon S3 bucket.
In this article, we'll look at the best use cases for Django and Flask along with what makes them unique, from an educational and development standpoint.
This article looks at a new approach for achieving a Single-page Application (SPA) -- HTML over WebSockets.
Add htmx and Tailwind CSS to Django to improve developer productivity.
Deep dive into Django REST Framework (DRF) serializers.
Add interactive charts to Django with Chart.js.
Integrate Pydantic with a Django application.
Simplify the process of deploying, maintaining, and scaling a production-grade Django app on Heroku.
Set up social auth with Django and Django Allauth.
Commonly used web authentication methods.
Add session-based authentication to a Single-Page Application (SPA) powered by Django and React.
This article looks at how to deploy a Django application to DigitalOcean's App Platform.
This tutorial looks at how to handle subscription payments with Django and Stripe.
Get started with Django's new asynchronous views
This post looks at how to deploy a Django app to Heroku with Docker via the Heroku Container Runtime.
Quickly add Stripe to accept payments on a Django/Python website.
Deploy a Django app to AWS ECS with Terraform.
Making Celery work nicely with Django Database Transactions.
Automatically retry failed Celery tasks.
This tutorial looks at how to integrate Stripe Connect into a Django application.