wagtail-leaflet
This project does nothing at all now !
It's more a POC than every thing else :)
This application provides leaflet blocks integration to Wagtail (StreamFields) blocks
Installation
Install application with pypi:
$ pip install wagtail-leaflet
Add application to your INSTALLED_APPS:
INSTALLED_APPS = [
...
'wagtailleaflet',
'leaflet',
'djgeojson',
...
]
Demo project
This project aims to demontrate the usage of map blocks in a wagtail project.
Installation
Create a virtualenv and initialize the project
$ virtualenv ./virtualenv
$ . ./virtualenv/bin/activate
$ cd demo
$ pip install -r requirements.txt
$ ./manage.py migrate
$ ./manage.py createsuperuser
Usage
Launch dev server
$ ./manage.py runserver
Browse to admin page
$ firefox http://127.0.0.1:8000/admin/