django-leaflet
django-leaflet allows you to use Leaflet in your Django projects.
django-leaflet allows you to use Leaflet in your Django projects.
To install this package, run one of the following:
Main purposes of having a python package for the Leaflet Javascript library:: - Install and enjoy ; - Do not embed Leaflet assets in every Django project ; - Enjoy geometry edition with Leaflet form widget ; - Control apparence and settings of maps from Django settings (e.g. at deployment) ; - Reuse Leaflet map initialization code (e.g. local projections) ; note:: django-leaflet is compatible with django-geojson fields, which allow handling geographic data without spatial database.
Summary
django-leaflet allows you to use Leaflet in your Django projects.
Last Updated
Dec 1, 2025 at 14:04
License
LGPL-3.0-only
Total Downloads
45.8K
Supported Platforms
GitHub Repository
https://github.com/makinacorpus/django-leafletDocumentation
https://django-leaflet.readthedocs.io/en/latest/