Python Web Framework: Django Developers Increasingly Use HTMX and Alpine.js

The web framework for Python is already celebrating its 20th birthday. A new study shows which JavaScript libraries are most frequently combined with it.

listen Print view
A hand points to the Python logo

(Image: Funtap / Shutterstock.com)

3 min. read
Contents

The Django Software Foundation and the team behind the Python development environment JetBrains PyCharm have published the results of the “State of Django 2025” survey. A good 4600 developers worldwide participated who use Django -- an open-source web framework for the Python programming language. The study shows the trends and tools in the Django ecosystem: React and jQuery prove to be the most popular JavaScript libraries, but HTMX and Alpine.js are gaining ground and AI usage is also increasing.

JavaScript Conference: Ideas Wanted
enterJS 2026

(Image: jaboy/123rf.com)

Call for Proposals for enterJS 2026 on June 16 and 17 in Mannheim: The organizers are looking for talks and workshops on JavaScript and TypeScript, frameworks, tools and libraries, security, UX, and more. Discounted early bird tickets are available until the program starts.

While, according to the study, almost 80 percent of the surveyed developers continue to use the official documentation at djangoproject.com as their learning resource, AI tools are on the rise with 38 percent, having overtaken both blogs (33 percent) and books (22 percent).

The State of Django 2025: Django developers primarily inform themselves using the official documentation.

(Image: Django Software Foundation/JetBrains PyCharm)

In Django development, AI tools are also popular, especially for tasks such as auto-completion, code generation, and writing boilerplate code. For example, 69 percent of respondents use ChatGPT and 34 percent use GitHub Copilot. As the study creators suspect, even greater AI usage will be seen next year.

Videos by heise

As in previous years, the JavaScript libraries React and jQuery are most frequently used in combination with Django. However, there is a significant increase in the use of HTMX and Alpine.js, both of which follow the server-side template approach. Since 2021, HTMX has grown from five to 24 percent, and Alpine.js from three to 14 percent. The upcoming release of Django 6.0 will offer official support for template partials, which will apparently further solidify the combination with HTMX and Alpine.js as a viable alternative.

The State of Django 2025: These JavaScript frameworks are used by Django developers.

(Image: Django Software Foundation/JetBrains PyCharm)

Among other findings of the study is that Django developers tend to be very experienced: almost a third have been working with the framework for at least eleven years. Furthermore, Django is mainly used professionally. These and other results are presented by the JetBrains blog.

Django is a high-level web framework for the Python programming language, focusing on speed, security, and scalability. On July 13, 2025, Django already celebrated its twentieth anniversary. As announced by the Django team at the time, many releases with several years of support and thousands of new packages in the Django ecosystem are to be expected in the future -- in a large, inclusive online community.

The Python Software Foundation, which is behind the programming language, also values a diverse developer community. It was recently announced that they have withdrawn a grant application from the US government due to anti-DEI (Diversity, Equity, and Inclusion) regulations.

(mai)

Don't miss any news – follow us on Facebook, LinkedIn or Mastodon.

This article was originally published in German. It was translated with technical assistance and editorially reviewed before publication.