Hide the 'home' field until we have a proper document selector
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 22 Nov 2008 20:54:42 +0000
changeset 564 d928d226cfad
parent 563 4a8565ce48c6
child 565 b0c5d58f9d3e
Hide the 'home' field until we have a proper document selector Rather than having a confusing 'home' field that lists all Linkables (in other words, everything in the database), we're better off hiding it for now.
app/soc/views/models/sponsor.py
--- a/app/soc/views/models/sponsor.py	Sat Nov 22 20:38:27 2008 +0000
+++ b/app/soc/views/models/sponsor.py	Sat Nov 22 20:54:42 2008 +0000
@@ -52,7 +52,7 @@
     model = soc.models.sponsor.Sponsor
     
     #: list of model fields which will *not* be gathered by the form
-    exclude = ['scope', 'scope_path', 'founder', 'inheritance_line']
+    exclude = ['scope', 'scope_path', 'founder', 'inheritance_line', 'home']
   
   # TODO(pawel.solyga): write validation functions for other fields
   def clean_link_id(self):