Commits

yang xiaoyong committed 727f0bd Draft

add templates directive

  • Participants
  • Parent commits dcb1dc2

Comments (0)

Files changed (1)

File itj/itj/settings.py

 WSGI_APPLICATION = 'itj.wsgi.application'
 
 TEMPLATE_DIRS = (
-    # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
-    # Always use forward slashes, even on Windows.
-    # Don't forget to use absolute paths, not relative paths.
+    os.path.join(PROJECT_DIR, 'templates'),
 )
 
 INSTALLED_APPS = (