将主要景点映射在百度地图上, 方便制定计划
git clone [email protected]:lihao2333/map_xian.git
cd map
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createsuperuser
and set the username and passwordpython3 manage.py runserver 0.0.0.0:8888
- open your browser with 'localhost:8888'
- open your borwser with 'localhost:8888' and type the admin username and password you set before.
- add an
section
with thename
andloc
- you can using baiduAPI to get the loc