app/soc/views/models/user.py
changeset 891 3d40190f35b6
parent 858 e79e7a22326f
child 934 9fcc08971efe
--- a/app/soc/views/models/user.py	Wed Jan 21 21:41:36 2009 +0000
+++ b/app/soc/views/models/user.py	Wed Jan 21 22:21:40 2009 +0000
@@ -32,7 +32,7 @@
 from soc.logic.models.site import logic as site_logic
 from soc.logic.models.user import logic as user_logic
 from soc.views import helper
-from soc.views.helper import responses
+from soc.views.helper import redirects
 from soc.views.models import base
 
 import soc.models.linkable
@@ -167,7 +167,7 @@
   def _getToSExampleText(self):
     """Returns example_text linking to site-wide ToS, or a warning message.
     """
-    tos_link = responses.getToSLink(site_logic.getSingleton())
+    tos_link = redirects.getToSRedirect(site_logic.getSingleton())
 
     if not tos_link:
       return ('<div class="notice">&nbsp;<i>No site-wide</i> Terms of'