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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfe238435f6eb99a8788671c1b1b7c1c2500f955d6f5b319bfe2f68f62de3503 |
|
MD5 | 1097b592ff012846ad4173a5101b8e7a |
|
BLAKE2b-256 | e8ee7fe4208ab5902df6a10002868cb68af917cc5afd1889ce487ce9f65b619b |
Close
Hashes for django_thailand_geography-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d389f2c201e23de2f1619559bfddc1dd51ec6991a18d0b45d56429459cfd8cf |
|
MD5 | 29e101f882fc67910bf7223825621325 |
|
BLAKE2b-256 | 4172088e6ebb189d712c2885122408bc57a4426314bbc1d877de86e7645fd8d4 |