Initial commit
This commit is contained in:
7
pygoedge_panel/settings/dev.py
Normal file
7
pygoedge_panel/settings/dev.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from .base import * # noqa
|
||||
import os
|
||||
|
||||
DEBUG = True
|
||||
|
||||
# 开发环境允许任意主机访问,或从环境覆盖
|
||||
ALLOWED_HOSTS = [h for h in os.getenv('DJANGO_ALLOWED_HOSTS', '*').split(',') if h]
|
||||
Reference in New Issue
Block a user