Correct settings. Add SRC_BASE_URL that points to the django site root
--- a/src/egonomy/config.py.tmpl Mon Feb 11 14:14:24 2013 +0100
+++ b/src/egonomy/config.py.tmpl Mon Feb 11 14:33:25 2013 +0100
@@ -6,9 +6,6 @@
WEB_URL = 'http://localhost/'
STATIC_URL = BASE_URL + 'static/site/'
-# if necessary
-#EGONOMY_BASE_URL = BASE_URL + 'ego/'
-
DEBUG = True
DATABASES = {
--- a/src/egonomy/settings.py Mon Feb 11 14:14:24 2013 +0100
+++ b/src/egonomy/settings.py Mon Feb 11 14:33:25 2013 +0100
@@ -161,8 +161,9 @@
from .config import * #@UnusedWildImport
-if not "EGONOMY_BASE_URL" in locals():
- EGONOMY_BASE_URL = BASE_URL + 'ego/'
+if not "SRC_BASE_URL" in locals():
+ SRC_BASE_URL = BASE_URL + __name__.split('.')[0] + '/'
if not "LOGIN_URL" in locals():
- LOGIN_URL = EGONOMY_BASE_URL + 'login/'
\ No newline at end of file
+ LOGIN_URL = SRC_BASE_URL + 'login/'
+