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
{{ message }}
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
With the 0.2.4 version (DRF 2.4.4 et DRFMongoengine) version i have issue:
'Field' object has no attribute 'default' in introspector.py.
rest_framework_swagger/introspectors.py in get_default_value, line 23
I investigate a little, and i found code modification not equivalent, get_resolved_value becomes get_default_value.
The first code works get_resolved_value, getattr has a default values (None for instance) and with get_default_value, getattr has no more default value.
I hope it helps.
The text was updated successfully, but these errors were encountered:
With the 0.2.4 version (DRF 2.4.4 et DRFMongoengine) version i have issue:
I investigate a little, and i found code modification not equivalent, get_resolved_value becomes get_default_value.
The first code works get_resolved_value, getattr has a default values (None for instance) and with get_default_value, getattr has no more default value.
I hope it helps.
The text was updated successfully, but these errors were encountered: