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
Can we remove not field_info.get('relationship_resource') and from choices condition, or how to generate output that I want (without modifying metadata.py)?
The text was updated successfully, but these errors were encountered:
As DJA we try to follow Django REST Framework standards as much as possible. So in this case if you think an option include_choices would be a good idea you would need to request such feature upstream. Once it is applied we can then follow up with the same option in DJA as well.
I need to get choices for ResourceRelatedField, when I make OPTIONS request. How to do it?
Current output:
If I remove this line, (It is what I want) I get desired output:
Can we remove
not field_info.get('relationship_resource') and
from choices condition, or how to generate output that I want (without modifyingmetadata.py
)?The text was updated successfully, but these errors were encountered: