app/soc/models/presence.py
changeset 936 b3e1e0c9649c
parent 805 6aaf4c33db0b
child 970 8b5611d5b053
--- a/app/soc/models/presence.py	Fri Jan 23 21:20:33 2009 +0000
+++ b/app/soc/models/presence.py	Fri Jan 23 21:22:09 2009 +0000
@@ -49,6 +49,7 @@
     collection_name='home')
   home.help_text = ugettext_lazy(
       'Document to be used as the "/home" page static contents.')
+  home.redirect_url = soc.models.document.Document.URL_NAME
 
   #: Valid ATOM or RSS feed url or None if unused. Feed entries are shown 
   #: on the site page using Google's JavaScript blog widget  
@@ -64,4 +65,4 @@
     collection_name='tos')
   tos.help_text = ugettext_lazy(
       'Document containing optional Terms of Service for participating.')
-
+  tos.redirect_url = soc.models.document.Document.URL_NAME