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
Yup, that seems like a valid request to me.
We no longer display relational choices in OPTIONS by default, but the underlying change here is still reasonable & correct.
can we change
https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/relations.py#L154
from
to
????
When i make OPTION request, i've got metada for related field choices of action:
1st case:
{display_name: "Acura", value: "184"} (this is wrong)
2nd case:
{display_name: "Acura", value: 184} (it's ok)
Here we got field.choices:
https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/metadata.py#L142
value is always string now.
The text was updated successfully, but these errors were encountered: