Installation

Note

The library has been tested against Python 2.7 and 3.4+.

Installing from PyPi

Note

This is the preferred installation method.

$ pip install django-map-widgets

Installing from source

Alternatively, install the package from github

$ pip install git+git://github.com/erdem/django-map-widgets.git

Add ‘map_widgets’ to your INSTALLED_APPS in settings.py

INSTALLED_APPS = [
     ...
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    'mapwidgets',
]

Requirements

Django Map Widgets needs Jquery dependency to work in your regular views. In Django Admin case, you don’t need to provide the jQuery just because it’s already available on django.jQuery namespace.