app/soc/views/models/club.py
changeset 1125 c6e8e3573fa2
parent 1115 0a723ff3d27c
child 1127 69a9134c5c7e
--- a/app/soc/views/models/club.py	Sat Jan 31 18:25:11 2009 +0000
+++ b/app/soc/views/models/club.py	Sat Jan 31 18:44:00 2009 +0000
@@ -224,26 +224,6 @@
         page_name, params=list_params, filter=None)
 
 
-  def _editGet(self, request, entity, form):
-    """See base.View._editGet().
-    """
-
-    # fill in the founded_by with data from the entity
-    form.fields['founded_by'].initial = entity.founder.name
-    super(View, self)._editGet(request, entity, form)
-
-  def _editPost(self, request, entity, fields):
-    """See base.View._editPost().
-    """
-
-    if not entity:
-      # only if we are creating a new entity we should fill in founder
-      user = user_logic.logic.getForCurrentAccount()
-      fields['founder'] = user
-
-    super(View, self)._editPost(request, entity, fields)
-
-
   def _getExtraMenuItems(self, role_description, params=None):
     """Used to create the specific club menu entries.