DJANGO 入门
DJANGO 视图
DJANGO URL
DJANGO 模型
DJANGO 模板/标签
DJANGO 查询集
DJANGO 静态文件
DJANGO 管理员

Menu
×
×
正确

练习:

在 settings.py 文件中,如何关闭调试?

# SECURITY WARNING: don't run with debug turned on in production! DEBUG = False ALLOWED_HOSTS = []
# SECURITY WARNING: don't run with debug turned on in production! DEBUG =False ALLOWED_HOSTS = []
# SECURITY WARNING: don't run with debug turned on in production! DEBUG= False ALLOWED_HOSTS = []
# SECURITY WARNING: don't run with debug turned on in production! DEBUG=False ALLOWED_HOSTS = []

不正确

点击 此处 重试

正确

下一题 ❯
# SECURITY WARNING: don't run with debug turned on in production!


ALLOWED_HOSTS = []







×

重置分数?