中国省市区数据模型.
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 hashes)
Built Distribution
Close
Hashes for django_regions-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fa9596c5bf28c07a34b6b96a27d5e28c75ae8a8b5f3271cc6a4cb2968b60f8 |
|
MD5 | 181b7ac9b82175139eba0addb769a635 |
|
BLAKE2b-256 | 16744abd1ecbb191865566caf2f6026ea0839d7a2844fc86f9ec2af91f9ed708 |