No project description provided
Project description
django-thailand-geography
Django models for Thailand geography information. This library also includes a command to import geography data from thailand-geography-data/thailand-geography-json
Installation
pip install django-thailand-geography
Setup
-
Add
thailand_geography
intoINSTALLED_APPS
# settings.py INSTALLED_APPS = [ ... 'thailand_geography', ]
-
Run migration
python manage.py migrate
-
Import data from JSON database
python manage.py import_geo
Development
Requirements
- Docker
- Python
- Poetry
Migrate
make migrate
Linting
make lint
Testing
make test
Fix Formatting
make yapf
Project details
Release history Release notifications | RSS feed
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_thailand_geography-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2342143410017ea36ce9127cc5642f95f95b7710c7b58d05f9df200058ecd4d |
|
MD5 | 24d66d17a9f6ffb3df32ba223ff91533 |
|
BLAKE2b-256 | 607491a0628ae2566c31f0a0b24473322ec307eeed9519b628faddccb61fca9e |
Close
Hashes for django_thailand_geography-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81e900bcbc3f6d1e8667030e0237c5a80dc0e89e70610d66a3189245ce3e86a9 |
|
MD5 | cb7904eda8dadfbe774bb03d430105c6 |
|
BLAKE2b-256 | 11a38afc06e41b7088e52a54c89e7952aadd3b39205fda6126577da95eb12f9f |