You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as i understand the exclude should be a list. but when i define the exclude = ['name1','name2'], error occurs as follows:
append() takes exactly one argument (2 given)
Exception Location: ...../lib/python2.7/site-packages/adaptor/model.py in get_exclusion_fields, line 312
i think the code should be changed to :
if hasattr(cls, "Meta") and hasattr(cls.Meta, "exclude"):
list_exclusion.extend(cls.Meta.exclude)
The text was updated successfully, but these errors were encountered:
as i understand the exclude should be a list. but when i define the exclude = ['name1','name2'], error occurs as follows:
append() takes exactly one argument (2 given)
Exception Location: ...../lib/python2.7/site-packages/adaptor/model.py in get_exclusion_fields, line 312
i think the code should be changed to :
if hasattr(cls, "Meta") and hasattr(cls.Meta, "exclude"):
list_exclusion.extend(cls.Meta.exclude)
The text was updated successfully, but these errors were encountered: