Import data to GeoKey from CSV
Impot data to GeoKey from CSV formatted documents.
Install the extension from PyPI:
pip install geokey-import
Or from cloned repository:
cd geokey-import pip install -e .
Add the package to installed apps:
INSTALLED_APPS += ( ... 'geokey_import', )
Migrate the models into the database:
python manage.py migrate geokey_import
Copy static files:
python manage.py collectstatic
You’re now ready to go!
python manage.py test geokey_import
Check code coverage:
coverage run --source=geokey_import manage.py test geokey_import coverage report -m --omit=*/tests/*,*/migrations/*
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.