Răsfoiți Sursa

TEMPLATE_DIRS must be tuple

Denis V. Dedkov 10 ani în urmă
părinte
comite
a7511b14b7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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',