# HG changeset patch # User Lennard de Rijk # Date 1233426311 0 # Node ID d456f50af0d243ea1eb12d61d55f7138cb587833 # Parent 9b53bc4b2ea71cf51b9613087bfa809edd140c26 Reverting a change from r1732 for reasons stated in soc/logic/models/group.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 9b53bc4b2ea7 -r d456f50af0d2 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()