Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Airport model and worldwide airport data for Django

Project Description


### 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](](
[![Code Health](](


### 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 `````` file:

import django


if django.VERSION < (1, 7):

Then run ```./ syncdb``` to create the required database tables, and ```./ 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.

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(8.4 kB) Copy SHA256 Hash SHA256
Source Aug 7, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting