Hello Coders!
This article presents a curated list with Django Extensions that might help developers to code faster production-ready projects. For newcomers, Django is a leading web framework actively supported and versioned by programming experts across the globe. All extensions mentioned in this article are tested, open-source, and continuously improved.
Thanks for reading!
β¨ Django Debug Toolbar
For newcomers, the Django Debug Toolbar is a configurable set of panels that bumps various information about the current request/response when clicked.
- π Django Debug Toolbar - official docs
- π How to configure Django Debug Toolbar - a complete article
β¨ Django Celery
Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time task execution but supports scheduling as well. Using this library with Django, our projects can execute tasks in the background and improve the user experience.
- π Execute Tasks With Django and Celery - a complete article
β¨ Django Pandas
A popular Django extension that provides tools for working with pandas in your Django projects: convert database information to pandas, CSV files, and extract different metrics from data frames.
- π Django Pandas - extension PyPi page
- π How To Use Pandas Library in Django - a complete article
β¨ Django Ninja
Fast, Async-ready, Openapi, type hints-based framework for API development that competes nicely with his older brother Django DRF. Key features:
- Easy: Designed to be easy to use and intuitive.
-
FAST execution powered by
Pydantic
and async support. - Fast to code: Type hints and automatic docs let you focus only on business logic.
- Standards-based: Based on the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema.
β¨ Django HTMX
According to the htmx website this tool allows us to access AJAX, Server-Sent Events, and WebSockets directly in HTML, using attributes. Django-HTML represents the glue between Django and HTMX technology.
A nice feature of HTMX is when doing asynchronous calls to your backend, HTMX does not expect a JSON response but an HTML fragment response. For more resources about this topic, feel free to access:
- π HTMX and Django for coding SPAs
- π Django, HTMX and Alpine.JS - a comprehensive article
Thanks for reading!
For more resources, feel free to access:
- β¨ More Free Dashboards crafted in Django, Flask, and React
- β¨ More Admin Dashboards - a huge index with products
Top comments (6)
good job
ty!
Django Ninja is great
Great alternative to DRF.
ππ
Django HTMX looks promising. Ty for writing this.
HTMX is really nice.
That
xml
alike syntax looks not so appealing but the technology can improve a lot the UX.ππ