From e0b19fb4bcfe416069436e83016352bac7c816c6 Mon Sep 17 00:00:00 2001 From: Trever Fischer Date: Sat, 25 Feb 2012 12:40:33 -0500 Subject: [PATCH] Default appversion repo to `pwd`/.git --- settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settings.py b/settings.py index d8f6935..6627b5e 100644 --- a/settings.py +++ b/settings.py @@ -1,6 +1,7 @@ # global Django settings for caminus project. # Please override this in local_settings.py, so as to # prevent sensitive data being checked into git. +import os DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -175,5 +176,7 @@ LOGIN_URL = '/profiles/login' LOGOUT_URL = '/profiles/logout' LOGIN_REDIRECT_URL = '/' +APPVERSION_GIT_REPO = os.path.sep.join((os.path.dirname(__file__), '.git')) + # Load any site-local overrides, such as camin.us' database settings, etc from local_settings import *