Hide 'tos' pull-down selector from Site Settings forms.
authorTodd Larsen <tlarsen@google.com>
Wed, 14 Jan 2009 20:37:34 +0000
changeset 808 0cab5492f458
parent 807 b6db9fb1246d
child 809 757cc13ecd39
Hide 'tos' pull-down selector from Site Settings forms. Patch by: Todd Larsen Review by: to-be-reviewed
app/soc/views/models/site.py
--- a/app/soc/views/models/site.py	Wed Jan 14 20:37:24 2009 +0000
+++ b/app/soc/views/models/site.py	Wed Jan 14 20:37:34 2009 +0000
@@ -45,7 +45,11 @@
     model = soc.models.site.Site
 
     #: list of model fields which will *not* be gathered by the form
-    exclude = ['home', 'scope', 'scope_path', 'link_id']
+    exclude = ['scope', 'scope_path', 'link_id',
+      # TODO(tlarsen): this needs to be enabled once a button to a list
+      #   selection "interstitial" page is implemented, see:
+      #     http://code.google.com/p/soc/issues/detail?id=151
+      'home', 'tos']
 
   link_id = forms.CharField(widget=forms.HiddenInput)