The State of Django 2024

django python

The Django community has evolved significantly in 2024. Here’s a snapshot of where the framework stands, based on surveys, package downloads, and community trends.

Usage Statistics

PyPI downloads (django package):
2022: ~50M/month
2023: ~55M/month
2024: ~60M/month

Steady growth, not explosive but consistent.

Version Distribution

VersionUsage
Django 5.0+35%
Django 4.2 LTS45%
Django 4.0/4.112%
Django 3.2 LTS6%
Older2%

LTS versions remain popular. 5.x adoption is accelerating.

Frontend Approaches

Approach20232024
Django templates + HTMX25%35%
React/Vue SPA40%35%
Django templates (traditional)30%25%
Other (Alpine, Stimulus)5%5%

HTMX adoption accelerating. SPAs declining slightly.

Database Usage

DatabaseUsage
PostgreSQL72%
SQLite15%
MySQL10%
Other3%

PostgreSQL dominance continues.

Async Adoption

Using async views:     35%
Planning to use:       40%
No plans:              25%

Async is mainstream but not universal.

Most Used

PackagePurposeAdoption
Django REST FrameworkAPIs75%
django-allauthAuth45%
celeryTasks55%
django-debug-toolbarDev60%
pytest-djangoTesting65%
django-htmxHTMX integration25%
django-ninjaFast APIs15%

Rising Stars

PackageGrowth
django-cottonComponent templates
django-unicornReactive components
django-htmxHTMX helpers
django-tailwindCSS integration
django-ninjaType-safe APIs

Deployment

Hosting

PlatformUsage
AWS35%
Self-hosted / VPS25%
Heroku15%
Google Cloud10%
Azure8%
Railway / Render7%

AWS leads. PaaS options (Railway, Render) growing.

Containerization

Using Docker:          75%
Kubernetes:            35%
Bare metal / VMs:      25%

Serverless

Using serverless:      15%
Interested:            30%
Not applicable:        55%

Serverless Django is niche but growing.

Developer Experience

What Developers Love

  1. Admin interface - Still unmatched
  2. ORM - Productive and powerful
  3. Documentation - Gold standard
  4. Community - Helpful and welcoming
  5. Stability - Reliable upgrades

Pain Points

  1. Async complexity - ORM sync by default
  2. Frontend story - No official recommendation
  3. Real-time - Channels setup complexity
  4. Type hints - Improving but not complete
  5. Performance tuning - N+1 queries

What Teams Want

Most Requested Features

FeatureInterest
Better async ORM60%
Native type stubs55%
Simpler real-time45%
Better component system40%
Built-in API tools35%

Framework Comparison

When asked “Would you use Django for a new project?”:

Definitely:    65%
Probably:      25%
Depends:       8%
Probably not:  2%

Django remains the first choice for Python web development.

Community Health

Contributors

Core team:           ~15 active
Regular contributors: ~100
Occasional:          ~500
First-time (2024):   ~200

Healthy contribution pipeline.

Django Software Foundation

Corporate sponsors:   Growing
Individual memberships: Stable
Fellowship program:   Active

Financially sustainable.

Predictions for 2025

Django 5.2 LTS

Expected: April 2025
Key features:
- Composite primary keys (full support)
- More async ORM operations
- Performance improvements
  1. HTMX + Django - Will become default for many
  2. AI integration - LLM-powered features emerging
  3. Edge deployment - Django on edge functions
  4. Type safety - Better IDE support

Learning Django in 2024

1. Official tutorial (djangoproject.com)
2. Django for Beginners (book)
3. Django for APIs (book)
4. Real projects + community help

Resources

ResourceTypeQuality
Official docsFreeBest
Django ForumCommunityExcellent
testdriven.ioTutorialsGreat
r/djangoCommunityGood
Django DiscordChatActive

Summary

Django in 2024:

The framework isn’t flashy, but it’s exactly what production teams need.


Django: The practical choice for Python web development.

All posts