From 1b0fd7850d9f793e248f4d1b2a2f0c1aa46dd398 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 21 Feb 2012 15:26:30 +0100 Subject: asgard --- __init__.py | 0 asgard.json | 2 +- coip/settings.py | 5 ++++- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 __init__.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/asgard.json b/asgard.json index a357201..11350f6 100644 --- a/asgard.json +++ b/asgard.json @@ -1 +1 @@ -{"type": "django"} +{"type": "django", subdir="src"} diff --git a/coip/settings.py b/coip/settings.py index 15389c2..7442f62 100644 --- a/coip/settings.py +++ b/coip/settings.py @@ -1,6 +1,7 @@ # Django settings for coip project. import coip.site_logging +import os DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -9,7 +10,9 @@ ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) -BASE_DIR = "." +#BASE_DIR = "." +SRC_DIR = os.path.dirname(os.path.abspath(__file__)) +BASE_DIR = os.path.abspath(os.path.join(SRC_DIR, '..')) MANAGERS = ADMINS DATABASES = { -- cgit v1.1