--- a/src/hp/config.py.tmpl Fri Nov 16 02:04:40 2012 +0100
+++ b/src/hp/config.py.tmpl Fri Nov 16 09:25:07 2012 +0100
@@ -48,7 +48,7 @@
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"
-STATIC_URL = BASE_STATIC_URL + "site"
+STATIC_URL = BASE_STATIC_URL + "site/"
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
@@ -107,7 +107,7 @@
LDT_NETLOC = "%(ldt_netloc)s"
LDT_DOMAIN = 'http://'+LDT_NETLOC
LDT_BASE_URL = LDT_DOMAIN + '%(ldt_baseurl)s'
-LDT_URL = LDT_BASE_URL + "'%(ldt_url)s'"
+LDT_URL = LDT_BASE_URL + '%(ldt_url)s'
LDT_API_URL = LDT_URL + 'api/ldt/1.0/'
LDT_STATIC_URL = LDT_BASE_URL + "static/site/"
--- a/src/hp/views.py Fri Nov 16 02:04:40 2012 +0100
+++ b/src/hp/views.py Fri Nov 16 09:25:07 2012 +0100
@@ -82,8 +82,9 @@
r = requests.request(request.method, settings.KC_URL + path, data=request.POST, params=request.GET)
logger.debug("Proxy r url : " + r.url)
- logger.debug("Proxy r method : " + r.method)
- logger.debug("Proxy r status : " + r.status)
+ logger.debug("Proxy r method : " + r.request.method)
+ logger.debug("Proxy r full url : " + r.request.full_url)
+ logger.debug("Proxy r status : " + r.status_code)
logger.debug("Proxy r text : " + r.text)
return HttpResponse(content=r.text, content_type='application/json;charset=UTF-8')