For which purposes do you mainly use Django?
Both for work and for my personal, educational, or side projects
Only for my personal, educational, or side projects
Which versions of Django do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| – | – | – | 62% | 5.1 |
| – | – | – | 31% | 5.0 |
| – | – | 69% | 45% | 4.2 |
| – | 55% | 25% | 8% | 4.1 |
| – | 34% | 16% | 6% | 4.0 |
| 75% | 47% | 28% | 12% | 3.2 |
| 30% | 10% | 5% | 2% | 3.1 |
| 50% | 13% | 8% | 6% | 3.0 or lower |
| 3% | 3% | 4% | 2% | I'm not sure |
Which version of Django do you use for new projects?
The latest stable release
How do you create new Django projects?
Using Cookiecutter Django
Using Django Material Kit
Using Django React Boilerplate
How often do you upgrade Django in your projects?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 44% | 44% | 40% | 48% | Every stable release |
| 30% | 32% | 32% | 27% | LTS only |
| 14% | 13% | 15% | 11% | Every monthly point release |
| 5% | 4% | 5% | 4% | I use an unsupported version of Django |
| 7% | 7% | 8% | 10% | Other |
Which database backend(s) do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 77% | 79% | 76% | 76% | PostgreSQL |
| 41% | 40% | 43% | 42% | SQLite |
| 30% | 28% | 30% | 27% | MySQL |
| 10% | 10% | 10% | 9% | MariaDB |
| 2% | 2% | 6% | 7% | Oracle |
| – | – | 8% | 6% | MongoDB |
| – | – | 4% | 3% | Microsoft SQL Server |
| 6% | 6% | 4% | 2% | Other |
| 2% | 2% | 1% | 1% | None / I’m not sure |
Which cache backend(s) do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 47% | 54% | 54% | 52% | Redis |
| – | 16% | 16% | 25% | Database |
| – | 17% | 18% | 18% | Local Memory |
| 18% | 16% | 20% | 15% | Memcached |
| – | 8% | 8% | 8% | Filesystem |
| 2% | 1% | 3% | 1% | Other |
| 43% | 27% | 24% | 22% | None |
Which Django contrib apps do you find most useful?
Which GeoDjango backend(s) do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 22% | 22% | 24% | 21% | PostGIS |
| 7% | 6% | 10% | 14% | MySQL |
| 1% | 1% | 4% | 10% | Oracle |
| 3% | 3% | 6% | 2% | Other |
| 72% | 72% | 66% | 65% | None / I’m not sure |
All options with less than 5% have been merged into “Other”.
What are your top three favorite core components?
Django management commands
Which template engine(s) do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 79% | 81% | 78% | 83% | Django templates |
| 14% | 14% | 16% | 13% | Jinja2 |
| 1% | 2% | 3% | 2% | Other |
| 14% | 13% | 13% | 12% | None |
Which types of testing are used in your project?
Which test frameworks do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 39% | 41% | 42% | 39% | pytest |
| 36% | 36% | 31% | 33% | unittest |
| – | 31% | 33% | 30% | pytest-django |
| 19% | 21% | 24% | 21% | coverage |
| 4% | 3% | 6% | 12% | django-test-plus |
| 12% | 10% | 15% | 11% | Selenium |
| – | 3% | 9% | 8% | Playwright |
| 6% | 6% | 5% | 4% | tox |
| 5% | 5% | 8% | 4% | Cypress |
| 4% | 4% | 9% | 3% | Other |
| 31% | 26% | 25% | 24% | None |
All options with less than 5% have been merged into “Other”.
Which async technologies do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 24% | 25% | 28% | 37% | ASGI |
| 22% | 23% | 25% | 25% | asyncio |
| 16% | 18% | 21% | 24% | Fast API |
| 13% | 15% | 19% | 20% | Uvicorn |
| 16% | 15% | 18% | 16% | Channels |
| 10% | 11% | 14% | 14% | Django's async views |
| 9% | 9% | 13% | 14% | Daphne |
| 5% | 4% | 7% | 9% | Starlette |
| 4% | 5% | 9% | 6% | asgiref |
| 5% | 6% | 23% | 4% | Other |
| 49% | 47% | 39% | 36% | None |
All options with less than 5% have been merged into “Other”.
Which JavaScript framework(s) do you use?
Which CSS frameworks do you use?
What are your top five favorite third-party Django packages?
What do you use Django for?
Full-stack development
Do you write code professionally using Django?
No, but I have experience in programming in Django
No, I'm only learning to code in Django
No, coding in Django is a hobby for me
Which task queue libraries do you use?
What is your primary text editor or IDE?
What is your primary local operating system?
Which continuous integration (CI) system(s) do you use?
Which configuration management tools do you use?
Which infrastructure-as-code (IaC) tools do you use?
Google Cloud Deployment Manager
Do you use type hints in your Django code?
Which type checkers do you use?
How much do you contribute to the documentation of the software you’re creating?
Which of the following do you use to host and publish documentation for the software you create?
We self-host our documentation
We don’t publish documentation
How do you use Swagger / OpenAPI?
Generate a specification from our backend
Use it for documentation purposes
Write new code according to a given specification
Which systems and languages do you use to create and build documentation?
| 2022 | 2023 | 2024 | |
|---|---|---|---|
| 64% | 57% | 62% | Markdown |
| 37% | 37% | 41% | Swagger / OpenAPI |
| 24% | 23% | 20% | Sphinx |
| 14% | 16% | 14% | Postman |
| 17% | 17% | 13% | rST |
| 13% | 16% | 10% | wiki |
| 8% | 8% | 6% | Other |
| 19% | 16% | 18% | None |
All options with less than 5% have been merged into “Other”.
No explicitly adopted information architecture
Formal documentation review
Code will not be merged without relevant documentation
Explicit style guide for contributors
Is Python your main programming language?
Yes
No, I use Python as a secondary language
Other
Note: This year, we observed an unusually high number of respondents for whom Python was not the primary language. To account for this and maintain consistency with trends from the previous three years, we weighted the data accordingly. This adjustment helped eliminate anomalies and provided a clearer view of year-over-year changes.
Which other programming language(s) do you use in addition to Python?
What is your main programming language?
This question was shown only to those who didn't choose Python as their main programming language in previous questions.
Other than Django, which web frameworks do you use?
Which web framework do you use the most?
Which of the following do you use to follow Django development?
I don’t follow Django development
Which of the following resources do you prefer to use to learn Django?
What do you typically use to upgrade your Python version?
Which version(s) of Python do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| – | – | – | 26% | 3.13 |
| – | – | – | 54% | 3.12 |
| – | – | 65% | 42% | 3.11 |
| 13% | 58% | 46% | 31% | 3.10 |
| 60% | 51% | 29% | 16% | 3.9 |
| 53% | 36% | 20% | 19% | 3.8 |
| 31% | 17% | 8% | 3% | 3.7 |
| 23% | 8% | 4% | 3% | 3.6 - 3.0 |
| 6% | 4% | 4% | 2% | 2.x |
| – | 5% | 3% | 1% | Other |
| 2% | 2% | 4% | 2% | I’m not sure |
Which of the following tools do you use to isolate Python environments?
Vagrant / Virtual machines
Which code formatters do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 35% | 51% | 52% | 40% | Black |
| 30% | 23% | 26% | 26% | autopep8 |
| 18% | 28% | 29% | 21% | isort |
| – | 19% | 18% | 17% | pre-commit |
| 6% | 5% | 10% | 17% | Other |
| 35% | 28% | 24% | 25% | None |
All options with less than 5% have been merged into “Other”.
Which linters do you use?
| 2021 | 2022 | 2023 | 2024 | |
|---|---|---|---|---|
| 40% | 43% | 37% | 34% | Flake8 |
| 26% | 41% | 42% | 30% | Black |
| – | – | – | 28% | Ruff |
| 37% | 33% | 29% | 24% | pylint |
| 14% | 18% | 20% | 14% | mypy |
| 4% | 3% | 11% | 2% | Other |
| 26% | 23% | 21% | 22% | None |
What are your top five favorite Python packages?
Which cloud hosting platforms do you use?
Which container orchestration services do you use?
How do you run code in the cloud?
How do you develop locally for the cloud?
In remote development environments
With a local system interpreter
Directly in the production environment
Do you use Docker containers, or something similar?
I use containers during development
The application I build runs in containers in production
Containers are used in the CI/CD process
I use containers for another purpose
What do you run inside Docker containers?
Application code that I develop or that my team develops
Backing services that my code connects to
Utilities I use during development
During development, where do you run your code?
Inside a container, on my computer
Using the system interpreter on my computer
Inside containers, on a different computer
On a different computer outside of containers
How do you deploy code to remote containers during development?
I use continuous integration
I build the container image locally and then push the image
I transfer code to the host machine and build the container there
I connect to the Docker engine remotely
How do you debug your application?
Do you debug your application on remote hosts or in containers?
I only use log statements
I frequently use a debugger on my application running remotely or in containers
I've attached a debugger once or twice
Are you aware of the funding options available to support the Django Software Foundation (DSF)?
Yes, in a smaller Django meetup or local event related to Django
Yes, in DjangoCon or an event of a similar size related to Django
Would you like to see type hints added to Django core, and if so, would you contribute to the effort?
A strong majority of respondents (84%) are in favor of adding type hints to Django core, with almost half (45%) indicating a willingness to contribute themselves. This level of interest and engagement suggests that the topic is highly relevant to the community.
Which packages would you like to see integrated into Django core?
Which of the following AI tools have you ever used or tried for Django development?
Which of the following tasks do you use AI tools for while using Django?
Generating chunks of boilerplate, repetitive code
Asking questions about software development and coding
Generating code comments or code documentation
Which types of projects do you work on using Django?
DevOps / System administration / Writing automation scripts
Data analysis / Data engineering
Which kinds of websites do you develop?
Personal or portfolio websites
Web interface for a product
Blog / Social media / Forum platform
What is your current employment status?
Fully employed by a company or organization
Business owner or founder
Partially employed by a company or organization
What is your job role?
Developer / Programmer / Software Engineer
Data Analyst / Data Engineer / Data Scientist
Instructor / Teacher / Tutor
What is your company size?
How many people work in your team?
Do you work in a team or independently?
How many projects do you work on?
Which of the following industries best describes your company’s business?
Information Technology / Software Development
Accounting / Finance / Insurance
Sales / Distribution / Business Development
How many full years of professional coding experience do you have?
How long have you been programming in Python?
What is your age range?
Which region are you based in?
Want to dig further into the data?
Download the anonymized survey responses and see what you can learn! Share your findings and insights by mentioning @pycharm and @djangoproject on X, or @django on Fosstodon with the hashtag #djangosurvey. You can also join the conversation and share your ideas about this survey on the Django Forum or the Django Discord server.
Once again, on behalf of both the Django Software Foundation and PyCharm, we’d like to thank everyone who took part in this survey.
If you have any questions or suggestions, please contact us at surveys@jetbrains.com.