Skip to content

vlinhart/django-airports-legacy

 
 

Repository files navigation

django-airports-legacy

Quickstart

Requirements (Ubuntu 16.04):

sudo apt-get install -y libsqlite3-mod-spatialite binutils libproj-dev gdal-bin

Install django-airports-legacy:

pip install django-airports-legacy

Add it to your `INSTALLED_APPS`:

INSTALLED_APPS = (
    ...
    'cities',
    'airports',
    'django.contrib.gis',
    ...
)

Features

The `airports manage command has options, see airports --help` output. Second run will update the DB with the latest data from the source csv file.

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Make a package

::

python setup.py sdist bdist_wheel twine check dist/* twine upload dist/*

About

It's like django-cities, but django-airports

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 83.0%
  • HTML 11.7%
  • Makefile 5.3%