Skip to content

ericdaniel/django-geonames

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

===============
django-geonames
===============

django-geonames is a Django app to easily include in your project the geographic data available in https://www.geonames.org It also provides a management command to import this data.

Quick start
-----------

* Enable Gis in your DB https://docs.djangoproject.com/en/dev/ref/contrib/gis/tutorial/
    In case you're using Postgresql as your DB, in the folder 'scripts' is available a script to set up PostGis.

* Add "geonames" to your INSTALLED_APPS setting like this::

      INSTALLED_APPS = (
          ...
          'geonames',
      )

* Run `python manage.py syncdb` to create the geonames models.

* Run `python manage.py loadGeonames` to import the data from geonames.org (This process can take long).

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.8%
  • Shell 3.2%