Fixed missing urlparse import in request_helpers which cause /user/profile and /site/user/profile not to work at all. Removed not used module imports in response_helpers.py.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 24 Sep 2008 21:23:42 +0000
changeset 201 bc7f0ac07fcb
parent 200 8e3a18cead22
child 202 b8b4a83788d4
Fixed missing urlparse import in request_helpers which cause /user/profile and /site/user/profile not to work at all. Removed not used module imports in response_helpers.py.
app/soc/views/helpers/request_helpers.py
app/soc/views/helpers/response_helpers.py
--- a/app/soc/views/helpers/request_helpers.py	Wed Sep 24 06:00:28 2008 +0000
+++ b/app/soc/views/helpers/request_helpers.py	Wed Sep 24 21:23:42 2008 +0000
@@ -21,6 +21,8 @@
   '"Todd Larsen" <tlarsen@google.com>',
   ]
 
+import urlparse
+
 
 def getSingleIndexedParamValue(request, param_name, values=()):
   """Returns a value indexed by a query parameter in the HTTP request.
--- a/app/soc/views/helpers/response_helpers.py	Wed Sep 24 06:00:28 2008 +0000
+++ b/app/soc/views/helpers/response_helpers.py	Wed Sep 24 21:23:42 2008 +0000
@@ -24,7 +24,6 @@
 
 
 import logging
-import urlparse
 
 from google.appengine.api import users
 
@@ -45,7 +44,6 @@
 
 from soc.views.helpers import html_menu
 from soc.views.helpers import request_helpers
-from soc.views.helpers import template_helpers
 
 
 def respond(request, template, context=None, response_args=None):