📜  共享本地主机 django - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:40.548000             🧑  作者: Mango

代码示例1
1. run python manage.py runserver 0.0.0.0:8000
2. figure out your ip address which is say 192.168.1.8
3. Add '192.168.1.8' to ALLOWED_HOSTS list in your settings.py file.
4. access 192.168.1.8:8000 on mobile.