✈️ It's like django-cities, but django-airports
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
airports
docs
example
tests
.coveragerc
.editorconfig
.gitignore
.landscape.yaml
.travis.yml
AUTHORS.rst
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.rst
manage.py
requirements.txt
requirements_dev.txt
requirements_test.txt
runtests.py
setup.cfg
setup.py
tox.ini

README.rst

django-airports

https://travis-ci.org/bashu/django-airports.svg?branch=master

Provides airports' related models and data (from [OpenFlights](http://openflights.org/)) that can be used in django projects, inspired by [django-cities](https://github.com/coderholic/django-cities)

django-airports

Documentation

The full documentation is at https://django-airports.readthedocs.io.

Quickstart

Requirements (Ubuntu 16.04):

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

Install django-airports:

pip install django-airports

Add it to your INSTALLED_APPS:

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

Features

The `airports` manage command has options, see `airports --help` output.

Running Tests

Does the code actually work?

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

Credits

Tools used in rendering this package: