Skip to content

cubicuboctahedron/django-airports

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-airports

Airport model and worldwide airport data for Django


django-airports provides you with airport related model and data (from OpenFlights) that can be used in your django projects.

Authored by Basil Shubin, inspired by django-cities

Latest Version Downloads License


Requirements

You must have django-cities installed and configured, see the django-cities documentation for details and setup instructions.

Setup

Either clone this repository into your project, or install with pip install django-airports

You'll need to add airports to INSTALLED_APPS in your project's settings.py file:

INSTALLED_APPS = (
    ...
    'airports',
)

Then run ./manage.py syncdb to create the required database tables, and ./manage.py airports to import all of the airports data. NOTE: This can take some time.

Please see example application. This application is used to manually test the functionalities of this package. This also serves as a good example.

You need Django 1.4 or above to run that. It might run on older versions but that is not tested.

Notes

The airports manage command has options, see airports --help output. Verbosity is controlled through LOGGING.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%