Django - Curated List with popular extensions
A curated list with Django Extensions for modern web development: Django-HTMX, Django Ninja, Pandas, and Django-Celery for asynchronous task execution.
Hello! 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
- π 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