--- a/src/hp/settings.py Wed Nov 07 11:48:38 2012 +0100
+++ b/src/hp/settings.py Tue Nov 13 16:20:34 2012 +0100
@@ -115,12 +115,25 @@
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
- # Uncomment the next line to enable the admin:
- # 'django.contrib.admin',
+ 'django.contrib.admin',
+ 'sorl.thumbnail',
+ 'south',
+ 'hp',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
)
+TEMPLATE_CONTEXT_PROCESSORS = (
+ "django.core.context_processors.request",
+ "django.contrib.auth.context_processors.auth",
+ "django.core.context_processors.debug",
+ "django.core.context_processors.i18n",
+ "django.core.context_processors.media",
+ "django.core.context_processors.static",
+ 'hp.context_processors.hp_context',
+)
+
+
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
@@ -150,5 +163,8 @@
}
}
+LDT_DOMAIN = 'http://localhost'
+LDT_API_URL = LDT_DOMAIN + '/~ymh/hp_ldt/ldtplatform/api/ldt/1.0/'
-from .config import *
+from .config import * #@UnusedWildImport
+