parent
89220c142b
commit
7ca2ea0766
4 changed files with 14 additions and 7 deletions
|
|
@ -114,7 +114,7 @@ class DeReference(object):
|
|||
doc = get_document(ref["_cls"])._from_son(ref)
|
||||
elif doc_type is None:
|
||||
doc = get_document(
|
||||
''.join(x.capitalize()
|
||||
''.join(x.capitalize()
|
||||
for x in col.split('_')))._from_son(ref)
|
||||
else:
|
||||
doc = doc_type._from_son(ref)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue