A django package providing models and views for Geoname Places
The full documentation is at https://acdh-django-geonames.readthedocs.io.
Install GeoName Places:
pip install acdh-django-geonames
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'gn_places.apps.GnPlacesConfig',
...
)
Add GeoName Places's URL patterns:
from gn_places import urls as gn_places_urls
urlpatterns = [
...
url(r'^', include(gn_places_urls)),
...
]
- TODO
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
pip install -r requirements_dev.txt invoke -l
Tools used in rendering this package: