Django has been a main “batteries included” Python internet framework for greater than a decade. The fifth main launch, which arrived in December, introduced even extra energy and ease to Django.
Curious concerning the newest Django improvement traits? JetBrains’ PyCharm staff, in collaboration with the Django Basis, surveyed over 4,000 builders worldwide to research framework utilization. Right here’s what we discovered:
Desire to look at? View the dialogue video that includes Django Board Member Sarah Abderemane, Django Fellow Sarah Boyce, and JetBrains Developer Advocate Paul Everitt as they discover the findings from the Django Developer Survey.
Dive into this submit to discover extra about these traits and take a look at infographics on Django improvement.
Django recognition shifts barely
Django continues to be the popular framework for 74% of Python builders, down from 83% final yr. This slight decline signifies that Django builders are exploring various frameworks, prone to make the most of particular options or adapt to altering venture calls for.
JetBrainsInternet builders combine Django, Flask, and FastAPI
One-third of internet builders who work primarily with Django additionally use Flask or FastAPI, displaying numerous back-end expertise. FastAPI retains its enchantment with 25% of builders, whereas Flask’s utilization dipped barely from 29% in 2022 to 26% in 2023.
JetBrainsSolely 11% of Django builders use all three frameworks, suggesting a choice for Flask and FastAPI in comparable contexts, with a shift towards FastAPI for its asynchronous options. Discover detailed comparisons between Django and Flask and Django and FastAPI to find out which framework most closely fits your venture wants.
Django leads for full-stack and API improvement
This yr’s survey reveals Django is most well-liked for full-stack (74%) and API improvement (60%), with a notable shift in direction of API work amongst employed builders. The rise of HTMX could steer extra builders again in direction of utilizing Django for full-stack tasks.
JetBrainsInterested by API improvement? Take a look at this tutorial on constructing APIs with the Django REST Framework.
Rising recognition of HTMX, Alpine.js, and Tailwind CSS
Django builders are more and more favoring newer, easier frameworks like HTMX and Alpine.js, with HTMX utilization rising from 16% in 2022 to 23% in 2023, and Alpine.js rising from 6% to 10%. Regardless of still-prevalent use of established JavaScript frameworks—Vue at 19%, jQuery at 31%, and React at 35%—general adoption has declined.
JetBrainsThe recognition of Tailwind CSS has surged, doubling over the previous two years, whereas that of Bootstrap continues to fall. This pattern signifies a rising choice for Tailwind CSS’s customizable, much less prescriptive styling method in internet tasks. For a complete introduction to utilizing Tailwind CSS in Django, try this text by Tailwind CSS creator Tim Kamanin.
JetBrainsGitHub Actions: The go-to CI device for Django builders
The adoption of steady integration instruments amongst Django builders is on the rise, highlighting a rising appreciation for his or her position in enhancing improvement practices and productiveness.
JetBrainsGitHub Actions, specifically, has seen important development, from 35% utilization in 2021 to 45% in 2023. Its integration with GitHub for supply code administration, the usage of easy YAML recordsdata for pipeline setups, and the flexibility to customise {hardware} configurations make it a most well-liked selection for automating software program workflows inside GitHub’s ecosystem.
Django builders embrace infrastructure as code
39% p.c of Django builders now use infrastructure as code (IaC), reflecting a pattern in direction of automating and managing infrastructure by way of code. IaC provides extra dependable, repeatable, and scalable setups for giant tasks. Terraform leads this area, most well-liked by 20% of respondents, making it the best choice for IaC provisioning.
JetBrainsBegin creating Django apps with PyCharm
Do you’re employed with Django? PyCharm, our well-liked IDE (built-in improvement setting) for Python, helps you code sooner with Django-specific code insights, code completion, and highlighting. It helps you to navigate your venture simply, hook up with your database in a single click on, and work with TypeScript, JavaScript, and front-end frameworks. PyCharm additionally helps Flask and FastAPI out of the field.
Survey methodology
The Django Builders Survey 2023 gathered roughly 4,000 responses throughout September and October 2023 through official Django Software program Basis channels, together with djangoproject.com and the DSF’s X (previously Twitter) account, independently of JetBrains.
- 44% of contributors are from Europe.
- Most respondents fall throughout the 21 to 49 age vary.
- 32% have greater than 11 years {of professional} coding expertise.
- 79% of respondents are concerned in programming, software program improvement, or software program engineering roles.
For extra particulars, view the total survey information within the Django Builders Survey 2023 Infographics.
Valeria Letusheva is product advertising supervisor at JetBrains.
—
New Tech Discussion board gives a venue for know-how leaders—together with distributors and different outdoors contributors—to discover and focus on rising enterprise know-how in unprecedented depth and breadth. The choice is subjective, primarily based on our decide of the applied sciences we imagine to be necessary and of biggest curiosity to InfoWorld readers. InfoWorld doesn’t settle for advertising collateral for publication and reserves the proper to edit all contributed content material. Ship all inquiries to doug_dineley@foundryco.com.
Copyright © 2024 IDG Communications, Inc.


