中国省市区数据模型.
Project description
Django Regions
基于django
的中国省市区数据模块
数据由高德地图接口获取
Quick Start
Install
$ pip install django-regions
Update settings.py
INSTALLED_APPS = [
...,
'regions',
]
...
AMAP_KEY = ''
Migrations
$ python manage.py makemigrations regions
$ python manage.py migrate
Sync Data
$ python manage.py sync_regions
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
django-regions-0.0.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file django-regions-0.0.1.tar.gz
.
File metadata
- Download URL: django-regions-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e537dd01dccdf3fb8eca5827e5b1d1ed76884e7d0199fc8aa464a76130b6f817 |
|
MD5 | 0bc552418405b9c335ec408a0da8b567 |
|
BLAKE2b-256 | 2394bcad9e0dc3eecae04561a39bfa28622c47712e23fb4de4cdae426955f6a1 |
File details
Details for the file django_regions-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: django_regions-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fa9596c5bf28c07a34b6b96a27d5e28c75ae8a8b5f3271cc6a4cb2968b60f8 |
|
MD5 | 181b7ac9b82175139eba0addb769a635 |
|
BLAKE2b-256 | 16744abd1ecbb191865566caf2f6026ea0839d7a2844fc86f9ec2af91f9ed708 |