This is the second annual Django Developers Survey, conducted September – October, 2022, as a collaborative effort between the Django Software Foundation and JetBrains. To help us get a better idea of the current state of the framework and the ecosystem around it, 4,900 Django users and enthusiasts from 248 countries and regions took the survey.
55%
0%
4.1
34%
0%
4.0
47%
75%
3.2
10%
30%
3.1
13%
39%
3.0 or lower
The majority of users migrated to the latest version 4.1 but almost half of Django developers still rely on the 3.2 LTS version.
Django versions 3.1 and lower are used by experienced Python developers, while newcomers use only the newest versions.
Django developers usually upgrade their projects with either every stable release (44%) or only with long-term support (LTS) (32%).
Django officially supports the following databases: PostgreSQL, SQLite, MySQL, MariaDB, and Oracle. Since last year’s survey, PostgreSQL has become even more popular, with shares increasing by 2 percentage points.
Only 6% of developers use databases that are not supported by Django. The database mentioned most often by these developers is MongoDB.
Practiced by more than half of Django developers, caching with Redis is the most popular.
Developers who use Redis as a cache backend use TypeScript more often than those who choose other caching methods.
PostgreSQL database users prefer Redis and Memcached.
Among SQLite users, the biggest share is Filesystem, with local memory being the second most popular.
The use of GeoDjango backend highly correlates with the choice of database backend.
More than 80% of respondents chose admin or auth, which makes them the most popular contrib apps for the second year in a row.
The favorite core component among respondents is Models. It was chosen by 76% of Django users, which is 4 percentage points higher than the previous year.
Django templates
Jinja2
Other
None
36%
37%
React
32%
37%
jQuery
25%
28%
Vue
16%
5%
htmx
8%
10%
Angular
Released in 2020, htmx is now getting more attention. The usage of this JavaScript framework has tripled since our previous survey in August 2021. Additionally, Alpine.js has doubled its share, although this value is still too small to make any specific conclusions.
Compared to last year's results, the share of jQuery decreased by 5 percentage points.
It’s interesting to note that frameworks that used to be leaders are beginning to lose their share to newly emerging ones.
62%
68%
Bootstrap
22%
15%
Tailwind CSS
13%
14%
Pure CSS
9%
12%
Material Design/Lite
6%
6%
Bulma
Since last year, the share of Tailwind CSS has increased 7 percentage points, rising from 15% to 22%. Those who use Tailwind CSS tend to use JavaScript frameworks, such as Alpine.js, htmx, React, and Vue, more often than Bootstrap users. Bootstrap users use jQuery almost twice as often.
Half of Django developers write asynchronous (async) views. However, whether or not respondents use async technologies does not necessarily correlate with their developer experience.
Check out more about Django asynchronous support here.
The more experienced developers use type hints significantly more often than those developers with less experience. Overall, 46% of Django developers use type hints.
A lot, or often
Some, or sometimes
A little, or hardly ever
None, or never
Bigger teams are more likely to document software, such as on Github Pages which is mostly used by bigger teams.
Smaller teams publish documentation less often.
Primary
Secondary
This question was only shown to those who chose Python as a secondary language.
The biggest users of YouTube and Stack Overflow are developers who have worked for less than 2 years.
Those with 6 or more years of work experience almost never use YouTube for Django learning purposes. They typically read djangoproject.com and Django News.