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
Adoption Trends
PyPI downloads (django package):
2022: ~50M/month
2023: ~55M/month
2024: ~60M/month
Steady growth, not explosive but consistent.
Version Distribution
| Version | Usage |
|---|---|
| Django 5.0+ | 35% |
| Django 4.2 LTS | 45% |
| Django 4.0/4.1 | 12% |
| Django 3.2 LTS | 6% |
| Older | 2% |
LTS versions remain popular. 5.x adoption is accelerating.
Stack Trends
Frontend Approaches
| Approach | 2023 | 2024 |
|---|---|---|
| Django templates + HTMX | 25% | 35% |
| React/Vue SPA | 40% | 35% |
| Django templates (traditional) | 30% | 25% |
| Other (Alpine, Stimulus) | 5% | 5% |
HTMX adoption accelerating. SPAs declining slightly.
Database Usage
| Database | Usage |
|---|---|
| PostgreSQL | 72% |
| SQLite | 15% |
| MySQL | 10% |
| Other | 3% |
PostgreSQL dominance continues.
Async Adoption
Using async views: 35%
Planning to use: 40%
No plans: 25%
Async is mainstream but not universal.
Popular Packages
Most Used
| Package | Purpose | Adoption |
|---|---|---|
| Django REST Framework | APIs | 75% |
| django-allauth | Auth | 45% |
| celery | Tasks | 55% |
| django-debug-toolbar | Dev | 60% |
| pytest-django | Testing | 65% |
| django-htmx | HTMX integration | 25% |
| django-ninja | Fast APIs | 15% |
Rising Stars
| Package | Growth |
|---|---|
| django-cotton | Component templates |
| django-unicorn | Reactive components |
| django-htmx | HTMX helpers |
| django-tailwind | CSS integration |
| django-ninja | Type-safe APIs |
Deployment
Hosting
| Platform | Usage |
|---|---|
| AWS | 35% |
| Self-hosted / VPS | 25% |
| Heroku | 15% |
| Google Cloud | 10% |
| Azure | 8% |
| Railway / Render | 7% |
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
- Admin interface - Still unmatched
- ORM - Productive and powerful
- Documentation - Gold standard
- Community - Helpful and welcoming
- Stability - Reliable upgrades
Pain Points
- Async complexity - ORM sync by default
- Frontend story - No official recommendation
- Real-time - Channels setup complexity
- Type hints - Improving but not complete
- Performance tuning - N+1 queries
What Teams Want
Most Requested Features
| Feature | Interest |
|---|---|
| Better async ORM | 60% |
| Native type stubs | 55% |
| Simpler real-time | 45% |
| Better component system | 40% |
| Built-in API tools | 35% |
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
Trends to Watch
- HTMX + Django - Will become default for many
- AI integration - LLM-powered features emerging
- Edge deployment - Django on edge functions
- Type safety - Better IDE support
Learning Django in 2024
Recommended Path
1. Official tutorial (djangoproject.com)
2. Django for Beginners (book)
3. Django for APIs (book)
4. Real projects + community help
Resources
| Resource | Type | Quality |
|---|---|---|
| Official docs | Free | Best |
| Django Forum | Community | Excellent |
| testdriven.io | Tutorials | Great |
| r/django | Community | Good |
| Django Discord | Chat | Active |
Summary
Django in 2024:
- Stable - Version 5.x is mature and reliable
- Growing - Steady adoption, not hype-driven
- Modern - Async, HTMX, type hints improving
- Practical - Still the best for “getting things done”
The framework isn’t flashy, but it’s exactly what production teams need.
Django: The practical choice for Python web development.