Skip to main content

Airport models and worldwide airport data for Django

Project description

django-airports
===

### Airport models and worldwide airport data for Django

----

django-airports provides you with airport related model and data (from [OpenFlights](http://openflights.org/)) that can be used in your django projects.

Authored by [Basil Shubin](http://resume.github.io/?bashu), inspired by [django-cities](https://github.com/coderholic/django-cities)

[![Latest Version](https://pypip.in/version/django-airports/badge.svg)](https://pypi.python.org/pypi/django-airports/)
[![Downloads](https://pypip.in/download/django-airports/badge.svg)](https://pypi.python.org/pypi/django-airports/)
[![License](https://pypip.in/license/django-airports/badge.svg)](https://pypi.python.org/pypi/django-airports/)

----

### Requirements

You must have *django-cities* installed and configured, see the [django-cities documentation](https://github.com/coderholic/django-cities) 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 projects settings.py file:

```python
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.

### Notes

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

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-airports-0.1.1.tar.gz (10.9 kB) Copy SHA256 hash SHA256 Source None Mar 28, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page