Blog

Here’s a list of my blog posts. Filter by topic:

Django: Django framework tips, tutorials, and best practices.

Django

Find and Fix N+1 Queries in Django Using AppSignal Logo
In this article, you'll learn about N+1 queries, how to detect them with AppSignal, and how to fix them to speed up your Django apps significantly.
Avoid Counting in Django Pagination Logo
This article looks at how to avoid the object count query in Django pagination. Appropriate for production environments.
Limiting Content Types in a Django Model Logo
Article looks at limiting content types when working with Django's generic relationships.
Approximate Counting in Django and Postgres Logo
This article looks at how to speed up counting with Django and PostgreSQL. It covers two different approaches.
Django REST Framework: Pros and Cons Logo
This article examines Django REST Framework, its pros and cons, and its alternatives.
Customizing the Django Admin Logo
Learn how to customize the Django admin site.
Django REST Framework Authentication with Auth.js Logo
Add authentication to Django REST Framework and integrate it with Auth.js
Django REST Framework Authentication Logo
Add authentication to Django REST Framework with django-allauth and dj-rest-auth.
Django Performance Optimization Tips Logo
Learn about the best Django performance practices and how to speed up your app.
Deploying a Django App to Azure App Service Logo
Securely deploy a Django app to Azure App Service.
Deploying a Django App to Google App Engine Logo
Learn how to securely deploy a Django app to Google App Engine.
Deploying a Django App to Render Logo
In this tutorial, we'll look at how to deploy a Django app to Render.
Deploying a Django App to Fly.io Logo
Deploy a Django application to Fly.io.
Migrating to a Custom User Model Mid-project in Django Logo
Learn how to migrate to a custom user model mid-project in Django.
Deploying a Django App to Dokku on DigitalOcean Logo
Deploy a Django app to Dokku on a DigitalOcean droplet.
CI/CD - Django and Docker with GitHub Actions Logo
Configure GitHub Actions to continuously deploy a dockerized Django application to Linode.
Integrating Mailchimp with Django Logo
Integrate Mailchimp with Django for newsletters and transactional emails.
Class-based vs Function-based Views in Django Logo
Differences between Django's class-based views (CBVs) and function-based views (FBVs).
Deploying a Django Application to Elastic Beanstalk Logo
A step by step guide on deploying Django to AWS Beanstalk.
Introduction to Django Channels Logo
Learn how to build a real-time chat using Django Channels.
Accepting Crypto Payments with Django and Coinbase Logo
Accept crypto payments in Django using Coinbase (Charges / Checkout).
Django REST Framework and Elasticsearch Logo
Learn how to integrate DRF with Elasticsearch.
Effectively Using Django REST Framework Serializers Logo
Learn how to more efficiently and effectively use DRF serializers by example.
Adding Charts to Django with Chart.js Logo
This article looks at adding interactive charts to Django admin with Chart.js.
Django and Pydantic Logo
02 February 2021
Learn how to use Pydantic with Django to build RESTful APIs.