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.
--- 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):