django下跑起服务器以后输入网址报错找不到模版。清理了工程下compiled files后,再次运行服务器报警告: WARNINGS: ?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You

TEMPLATES = [

      {

            'BACKEND':'django.template.backends.django.DjangoTemplates',

            'DIRS': [

                  os.path.join(BASE_DIR,'templates'), #here#

],

            'APP_DIRS':True,

            'OPTIONS': {

                  'context_processors': [

                        'django.template.context_processors.debug',

                        'django.template.context_processors.request',

                        'django.contrib.auth.context_processors.auth',

                        'django.contrib.messages.context_processors.messages',

                 ],

          },

      },

]

你可能感兴趣的:(django下跑起服务器以后输入网址报错找不到模版。清理了工程下compiled files后,再次运行服务器报警告: WARNINGS: ?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You)