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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706260a7114e2744cfe0c36e6490ec855564a7e9f1e53f437dce12543e133868 |
|
MD5 | 369e5d8a000cae6c52d9c236ea41ed3f |
|
BLAKE2b-256 | c8c185f3b941189b0a462efe9d33822ecb9e10229b869849799a1018f1589103 |
Close
Hashes for django_thailand_geography-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbbb5b9d8c8f5bdef9503c4a4e32aab59f32ef0dd997641014849a9adfef99e2 |
|
MD5 | 71adc058bc44816acaaf5495800d9efe |
|
BLAKE2b-256 | 54e40932b796d0b66aed42618e176495231dc30686b7de6807baaa3206ef96a9 |