python manage.py runserver后一切正常,

点击网址后显示A server error occurred. Please contact the administrator

终端开始显示报错
AttributeError: module 'django.conf.global_settings' has no attribute 'ROOT_URLCONF'

百度了好久没找到原因,有点急
python manage.py runserver后一切正常,

点击网址后显示A server error occurred. Please contact the administrator

终端开始显示报错
AttributeError: module 'django.conf.global_settings' has no attribute 'ROOT_URLCONF'

百度了好久没找到原因,有点急
你的django项目的配置文件中,缺少配置参数 ROOT_URLCONF。加上这个参数就行了,参数值是你的路由根文件