Commit 33b47153 authored by Serge S. Koval's avatar Serge S. Koval

Code cleanup

parent 4031977b
......@@ -296,7 +296,6 @@ def contribute_inline(session, model, form_class, inline_models):
if hasattr(remote_prop, 'direction') and remote_prop.direction.name == 'MANYTOONE':
if remote_prop.mapper.class_ == prop.parent.class_:
ignore.append(remote_prop.key)
print remote_prop.key
if info.exclude:
exclude = ignore + info.exclude
......
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