Reverting a change from r1732 for reasons stated in soc/logic/models/group.py.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 31 Jan 2009 18:25:11 +0000
changeset 1124 d456f50af0d2
parent 1123 9b53bc4b2ea7
child 1125 c6e8e3573fa2
Reverting a change from r1732 for reasons stated in soc/logic/models/group.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/logic/models/organization.py
--- a/app/soc/logic/models/organization.py	Sat Jan 31 18:06:34 2009 +0000
+++ b/app/soc/logic/models/organization.py	Sat Jan 31 18:25:11 2009 +0000
@@ -22,6 +22,7 @@
   ]
 
 
+from soc.logic.models import base
 from soc.logic.models import group
 from soc.logic.models import program as program_logic
 
@@ -41,5 +42,10 @@
     super(Logic, self).__init__(model=model, base_model=base_model,
                                 scope_logic=scope_logic)
 
+  # Restore base.Logic key field related methods
+  getKeyValuesFromEntity = base.Logic.getKeyValuesFromEntity
+  getKeyValuesFromFields = base.Logic.getKeyValuesFromFields
+  getKeyFieldNames = base.Logic.getKeyFieldNames
+
 
 logic = Logic()