Explorar el Código

TEMPLATE_DIRS must be tuple

Denis V. Dedkov hace 10 años
padre
commit
a7511b14b7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      record/settings.py

+ 1 - 1
record/settings.py

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