django-map-widgets
Configurable and user-friendly map widgets for GeoDjango fields
Decision gist · record as of 2026-08-14
Yes. Active maintenance, no security issues, permissive license, and zero runtime dependencies make it low-risk. Install friction is minimal. Suitable if you need interactive or static point-field maps in Django admin or forms and want to avoid building custom map UIs—but only if your use case is limited to PointField; other GeoDjango geometry types are not yet supported.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django with GeoDjango (django.contrib.gis) configured; Google Maps or Mapbox API keys needed if using those providers; jQuery 3.7-slim required for non-admin views.
- Low install friction with no runtime dependencies.
- Active maintenance: last commit 2026-07-31, 26 days since latest release.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2026-07-19 (26 days) · last repo commit 2026-07-31 · 470 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 138,048 downloads/mo, #11,346 on PyPI
Alternatives
Verify before relying
pip install django-map-widgets
# In settings.py
INSTALLED_APPS = [..., 'mapwidgets']
# In admin.py
from django.contrib.gis.db import models
class CityAdmin(admin.ModelAdmin):
formfield_overrides = {
models.PointField: {"widget": GoogleMapPointFieldWidget}
}- Whether LineString, Polygon, and Multi* GeoDjango fields are planned for future support beyond PointField.
- Performance characteristics when handling large numbers of map widgets on a single page.
- Compatibility with recent Django and Python versions beyond the stated >=3.10 requirement.
What it is and what it does
Django Map Widgets bridges GeoDjango's geographic field types with user-friendly, interactive map interfaces in Django admin and forms. It wraps Google Maps, Mapbox, and Leaflet to provide point-field widgets—both interactive (for editing locations via click or drag) and static (for read-only display)—eliminating the need to build custom map UIs from scratch.
The package is configured entirely through Django settings, allowing you to customize map behavior (zoom, center, marker options) and provider-specific features (API keys, place autocomplete) without touching widget code. It handles asset collection and jQuery integration automatically in admin, and requires minimal template setup in custom views. Currently limited to PointField support across all providers, with LineString and other geometry types not yet supported.
Use it for
- Build admin interfaces where staff can click a map to set or edit geographic point coordinates instead of typing latitude/longitude.
- Create public-facing forms that let users select a location interactively before submitting an address or venue.
- Display read-only maps in Django templates showing stored point locations without allowing user interaction.
- Integrate place autocomplete into map widgets to help users find and confirm addresses during data entry.
- Switch between map providers by changing settings without rewriting form or admin code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Active maintenance, no security issues, permissive license, and zero runtime dependencies make it low-risk. Install friction is minimal. Suitable if you need interactive or static point-field maps in Django admin or forms and want to avoid building custom map UIs—but only if your use case is limited to PointField; other GeoDjango geometry types are not yet supported.
Install
django-map-widgets on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance: last commit 2026-07-31, 26 days since latest release. Requires Python >=3.10 and Django; jQuery 3.7-slim needed for non-admin views.
Requires Django with GeoDjango (django.contrib.gis) configured; Google Maps or Mapbox API keys needed if using those providers; jQuery 3.7-slim required for non-admin views.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install django-map-widgets
# In settings.py
INSTALLED_APPS = [..., 'mapwidgets']
# In admin.py
from django.contrib.gis.db import models
class CityAdmin(admin.ModelAdmin):
formfield_overrides = {
models.PointField: {"widget": GoogleMapPointFieldWidget}
}
Verify before relying
- Whether LineString, Polygon, and Multi* GeoDjango fields are planned for future support beyond PointField.
- Performance characteristics when handling large numbers of map widgets on a single page.
- Compatibility with recent Django and Python versions beyond the stated >=3.10 requirement.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 26 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 138,048 / month, #11,346 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: django_map_widgets-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django geodjango map widget”
- django-map-widgetsProvides interactive and static map widgets for Django GeoDjango form…
- djangorestframework-gisAdds geographic and GeoJSON support to Django REST Framework,…
- django-leafletIntegrates the Leaflet JavaScript mapping library into Django…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-leaflet · jupyter-leaflet · django-prettyjson · keplergl · ipyleaflet · django-json-widget · django-js-asset · django-jsonform · django-jsoneditor · django-ajax-selects