浏览代码

TEMPLATE_DIRS must be tuple

Denis V. Dedkov 10 年之前
父节点
当前提交
a7511b14b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      record/settings.py

+ 1 - 1
record/settings.py

@@ -99,7 +99,7 @@ STATIC_URL = '/static/'
 
 ADMIN_MEDIA_PREFIX = '/static/admin/'
 
-TEMPLATE_DIRS = ('templates/')
+TEMPLATE_DIRS = ('templates/',)
 
 TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.request',
                                 'django.core.context_processors.csrf',