Gourav Goyat

Useful django packages

01 Jul 2024


djLint

Linter and formatter for django templates

pip install djlint

Documentation


django-browser-reload

Automatically reloads browser in development

pip install django-browser-reload

Documentation


django-cachalot

Automatically caches and invalidates django ORM queries

pip install django-cachalot

Documentation


django-debug-toolbar

Adds a panel that displays request/response debug information

pip install django-debug-toolbar

Documentation


django-cleanup

Automatically removes unused media files to free up space

pip install django-cleanup

Documentation


django-allauth

Easy to set up social login

pip install django-allauth

Documentation


whitenoise

To serve static files from django

pip install whitenoise

Documentation


django-extensions

Provides some useful admin commands in addition to the default ones

pip install django-extensions

Documentation


Following are useful if you plan to use HTMX with django

django-htmx

Extensions for using django with HTMX

pip install django-htmx

Documentation


django-render-block

Return specific blocks instead of the full django template from your views

pip install django-render-block

Documentation


Looking for a freelance developer? Get in touch