Skip to content

GustavoAlfredoZA/mezzanine_gasStation_map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mezzanine_gasStation_map

Plugin for mezzanine

Quick start

1.-Install leaflet for django:

pip install django-leaflet

2.- Add mezzanine map to INSTALLED_APPS:

INSTALLED_APPS = [
  ...
  'leaflet',
  'mezzanine_gasStation_map',
  ...
]

3.- Include in yourProject/yourProject/urls.py:

import mezzanine_gasStation_map.urls

4.- Include the polls URLconf in yourProject/yourProject/urls.py like this:

url('map/', include('mezzanine_gasStation_map.urls')),

5.- Create links in yourProject:

ln -s /home/user/git/LeafletGeoJSON/mezzanine_gasStation_map .
ln -s /home/user/git/LeafletGeoJSON/mezzanine_gasStation_map/static ./static/mezzanine_gasStation_map
ln -s /home/user/git/LeafletGeoJSON/mezzanine_gasStation_map/templates ./templates/mezzanine_gasStation_map

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published