On Thu, Aug 25, 2016 at 2:50 AM, Peter Otten <__pete...@web.de> wrote: >> if _param.auto_party_id is not None: >> if on_insert: >> value = auto_gen(_param.auto_party_id) >> elif not_exists: >> value = '<new>' > > I think we have a winner here ;)
Agreed. http://thedailywtf.com/articles/The_Enterprise_Rules_Engine If you create a non-code way to do code, you either have to make it far FAR simpler than code, or... you should just use code. Use code. ChrisA -- https://mail.python.org/mailman/listinfo/python-list