Reverting a change from r1732 for reasons stated in soc/logic/models/group.py.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- 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()