Description
django-leaflet lets you use the Leaflet mapping library in Django projects. It embeds Leaflet version 1.9.3, so a Django project does not have to include Leaflet assets itself. The README lists its main purposes: installing and using Leaflet through a Python package, avoiding Leaflet assets in every Django project, editing geometries with a Leaflet form widget, controlling the appearance and settings of maps from Django settings at deployment, and reusing map initialization code such as local projections. It is compatible with django-geojson fields, which handle geographic data without a spatial database. The documentation, linked from the README, explains setup and options in more detail. The README also links to the project's PyPI page and documentation badges. The repository sits under the makinacorpus account and lists a long group of contributors. It is aimed at Django developers who want interactive maps in their web applications.…
Highlights
- Leaflet maps in Django projects
- Embeds Leaflet 1.9.3
- Geometry editing with a form widget
- Map settings from Django settings
- Works with django-geojson fields
Ratings & Reviews
No ratings yet
Be the first to rate Django Leaflet.
People also visit
Django Leaflet FAQ
What is django-leaflet?
A Python package that lets Django projects use the Leaflet mapping library.
Which Leaflet version is included?
The README says it embeds Leaflet version 1.9.3.
Can users edit shapes on a map?
Yes. The README lists geometry editing with the Leaflet form widget.
Does it need a spatial database?
No. The README says it is compatible with django-geojson fields, which handle geographic data without one.
Where is the documentation?
The README links to the documentation for setup, options and more detail.
What are the best Django Leaflet alternatives?
Popular alternatives to Django Leaflet include Folium, Ember Leaflet and Leaflet.TimeDimension. See all Django Leaflet alternatives



