Skip to main content

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

Project description

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/*

History

0.2.5 (2022-01-03)

  • upstream django-cities-legacy==0.6.1 requirement
  • django 4 support

0.2.2 (2020-10-01)

  • upstream django-cities==0.6 requirement
  • better doc on installation

0.2.1 (2019-12-17)

  • compatibility with Django 3.0

0.2 (2019-09-15)

  • renaming and uploading to Pypi

0.1.5 (2018-03-08)

  • creation of the HISTORY.rst file;

Project details


Download files

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

Source Distribution

django-airports-legacy-0.2.6.tar.gz (9.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page