--- a/app/soc/views/user/profile.py Tue Sep 23 19:20:57 2008 +0000
+++ b/app/soc/views/user/profile.py Tue Sep 23 23:20:23 2008 +0000
@@ -32,8 +32,8 @@
from soc.logic.site import id_user
from soc.views import simple
from soc.views.helpers import forms_helpers
+from soc.views.helpers import request_helpers
from soc.views.helpers import response_helpers
-from soc.views.helpers import template_helpers
import soc.models.user
@@ -146,7 +146,7 @@
# referrer was us, so select which submit message to display
# (may display no message if ?s=0 parameter is not present)
context['submit_message'] = (
- template_helpers.getSingleIndexedParamValue(
+ url_helpers.getSingleIndexedParamValue(
request, SUBMIT_MSG_PARAM_NAME, values=SUBMIT_MESSAGES))
# populate form with the existing User entity