Merged much of the stanford htsworkflow frontend into trunk.
[htsworkflow.git] / htsworkflow / frontend / settings.py
index 32272242a3548c5b943754f902e1241ccef2f737..76aa1f356fa2ec5697ac0c06c14d3f683c389ec3 100644 (file)
@@ -133,7 +133,7 @@ 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.abspath("../templates"),
+    os.path.join(os.path.split(__file__)[0], 'templates'),
 )
 
 INSTALLED_APPS = (