Looks at how to integrate Django REST Framework with Elasticsearch.
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 (70)
Deploy a Django app to AWS ECS with Terraform.
Simplify the process of deploying, maintaining, and scaling a production-grade Django app on Heroku.
Customize Django's admin site.
Deploy a Django app to AWS EC2 with Docker and Let's Encrypt.
Secure a containerized Django app running behind an HTTPS Nginx proxy with Let's Encrypt SSL certificates.
Add session-based authentication to a Single-Page Application (SPA) powered by Django and React.
Quickly add Stripe to accept payments on a Django/Python website.
This tutorial details how to configure Django to run on Docker along with Postgres, Nginx, and Gunicorn.
Add authentication to Django REST Framework and integrate it with Auth.js
Configure GitLab CI to continuously deploy a Django and Docker application to AWS EC2.
Add authentication to Django REST Framework with django-allauth and dj-rest-auth.
Integrate Pydantic with a Django application.
Add interactive charts to Django with Chart.js.
This article serves as an introduction to Django REST Framework, focusing on serializers, views, and routers.
This tutorial shows how to build an intelligent educational platform using OpenAI APIs and Django.
This article looks at where potential performance issues can occur in a Django application and how to address them in order to speed up your app.
Deploy a Django application to Azure App Service.
Configure Django to run on Docker along with Postgres, Gunicorn, Traefik, and Let's Encrypt.
Commonly used web authentication methods.
Use Django Channels to create a real-time application.
Deploy a Django application to Google App Engine.
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.
Configure Django to load and serve up static and media files, public and private, via an Amazon S3 bucket.
This article explains step-by-step how to create a custom user model in Django.
Enable multi-region support in a Python application.
This article looks at how to configure Celery to handle long-running tasks in a Django app.
Deploy a Django application to Render.
Set up social auth with Django and Django Allauth.
Deploy a Django application to Fly.io.
This article explains step-by-step how to migrate to a custom User model mid-project in Django.
Deploy a Django application to Dokku on a DigitalOcean droplet.
Configure GitHub Actions to continuously deploy a Django and Docker application to Linode.
Integrate Mailchimp with Django for newsletters and transactional emails.
Differences between Django's class-based views (CBV) and function-based views (FBV).
This tutorial looks at how to handle subscription payments with Django and Stripe.
Get started with Django's asynchronous views.
Looks at how to leverage Django's default permission system to assign permissions to users and groups.
Add htmx and Tailwind CSS to Django to improve developer productivity.
Deploy a Django Application to AWS Elastic Beanstalk.
How to deploy a Django application to DigitalOcean's App Platform.
How to work with static and media files in a Django project, locally and in production.
Looks at how to add pagination to a Django project.
Making Celery work nicely with Django Database Transactions.
Automatically retry failed Celery tasks.
How to deploy a Django app to Heroku with Docker via the Heroku Container Runtime.
Configure VS Code to debug a Django app running inside of Docker.
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.
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.
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.
How permissions work in Django REST Framework.
This post looks at how to set up automated performance tests to uncover and prevent inefficient database queries.
This article looks at a new approach for achieving a Single-page Application (SPA) -- HTML over WebSockets.
Deep dive into Django REST Framework (DRF) serializers.
This tutorial looks at how to integrate Stripe Connect into a Django application.