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
Built Distribution
Close
Hashes for django-airports-legacy-0.2.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c6d3318731d951f5b30aabb316b6aa11e6e02134864574c5ed1bd34c7f31a44 |
|
MD5 | 472ead8377b84fee4c8fcd216420ca15 |
|
BLAKE2b-256 | 6558237b7f4d701419c8817f1a2ea7aaaf284e59d899bc8565c2c76ce7d6b1c9 |
Close
Hashes for django_airports_legacy-0.2.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b65fb96ab4e9839d68850abb38112f5fde009f57116bc6b204cd105f35e09e |
|
MD5 | 2e109411d5e0ead5aaf479bba483836a |
|
BLAKE2b-256 | 206b0e6850140fc541103fc71a4e4419a4604d4460888084b1701570b54a2d82 |