Commit 728fbf69 authored by Serge S. Koval's avatar Serge S. Koval

Added support for SynonymProperty

parent 9050ce8c
......@@ -291,9 +291,13 @@ def get_form(model, converter,
props = dict(properties)
def find(name):
# Try to look it up in properties lsit first
# Try to look it up in properties list first
p = props.get(name)
if p is not None:
# Try to see if it is proxied property
if hasattr(p, '_proxied_property'):
return p._proxied_property
return p
# If it is hybrid property or alias, look it up in a model itself
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment