Conversation
125ff5f to
a71b5ba
Compare
2f15a9e to
0fc4faa
Compare
|
I think instead you need to update the serializer here: https://github.com/openedx/openedx-learning/blob/1333cf6421e35b7e621fd5e10fc91c6a6f373634/openedx_tagging/core/tagging/rest_api/v1/serializers.py#L349 Currently it's trying to use the default serializer but that won't work with a tuple so you might need to make a custom serializer for just that field. |
|
@ChrisChV, @pomegranited, @bradenmacdonald: Could one of you please take a look at this? I'm not clear on the implications. |
I think it's unimportant but OK to translate this - the translations will show up in the Django Admin (only). Though generally I'm not in the habit of translating Django admin stuff for Open edX.
There's no tuple involved - it's still a I don't think any changes to the serializer are needed? I reviewed the diff here - looks good. And since our REST API tests like are passing unchanged, this is good with me. |
feanil
left a comment
There was a problem hiding this comment.
@bradenmacdonald thanks for taking a look, I missed that the initial model was also a Charfield mis-read the choices bit. Thanks for the clarification.
Description:
Bump DRF to
v3.15.1References: