Hide PolyModel inheritance_line bookkeeping property from the User Profile
authorTodd Larsen <tlarsen@google.com>
Wed, 01 Oct 2008 00:45:30 +0000
changeset 224 35bf48c27eb6
parent 223 a18e93e21672
child 225 2590d6b83568
Hide PolyModel inheritance_line bookkeeping property from the User Profile form.
app/soc/views/user/profile.py
--- a/app/soc/views/user/profile.py	Wed Oct 01 00:43:07 2008 +0000
+++ b/app/soc/views/user/profile.py	Wed Oct 01 00:45:30 2008 +0000
@@ -48,7 +48,7 @@
     model = soc.models.user.User
     
     #: list of model fields which will *not* be gathered by the form
-    exclude = ['id', 'former_ids', 'is_developer']
+    exclude = ['id', 'former_ids', 'is_developer', 'inheritance_line']
   
   def clean_link_name(self):
     link_name = self.cleaned_data.get('link_name')