From 5a39ae336f3772d9770b0f62399e3b5d50ab3642 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Sun, 13 Mar 2011 20:07:26 +0100 Subject: dynamically calculated absolute path to template directory diff --git a/settings.py b/settings.py index 6fba2cd..4b224da 100644 --- a/settings.py +++ b/settings.py @@ -1,3 +1,5 @@ +import os + # Django settings for helsinki project. DEBUG = True @@ -62,7 +64,9 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'helsinki.urls' -TEMPLATE_DIRS = ('templates',) +TEMPLATE_DIRS = ( + os.path.join(os.path.dirname(__file__), "templates"), +) INSTALLED_APPS = ( 'django.contrib.auth', -- cgit v0.10.2