- Python 3.8+
- Wagtail 4.1+ and Django 3.2+
- A Google account
Install the library with pip:
$ pip install wagtailgeowidget
Add wagtailgeowidget
to your INSTALLED_APPS
in Django settings.
INSTALLED_APPS = (
# ...
'wagtailgeowidget',
)
-
Follow Google's guide on how to retrive an API key
- Open the link then click the
Get Started
- Open the link then click the
-
Enable the following services:
-
When you have the key, add it to your Django settings as
GOOGLE_MAPS_V3_APIKEY
GOOGLE_MAPS_V3_APIKEY = "yourapikey"
Depending on your use case you can read either of these guides: