git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added collapse classes to attribute and relationship inlines on entities.
[philo.git]
/
forms.py
diff --git
a/forms.py
b/forms.py
index
b428d28
..
907e54d
100644
(file)
--- a/
forms.py
+++ b/
forms.py
@@
-30,7
+30,7
@@
def proxy_fields_for_entity_model(entity_model, fields=None, exclude=None, widge
if fields:
field_dict = SortedDict(
[(f, field_dict.get(f)) for f in fields
if fields:
field_dict = SortedDict(
[(f, field_dict.get(f)) for f in fields
- if ((not exclude) or (exclude and f not in exclude)) and (f not in ignored)]
+ if ((not exclude) or (exclude and f not in exclude)) and (f not in ignored)
and (f in field_dict)
]
)
return field_dict
)
return field_dict