Django REST SlugRelatedField instead of ID in URL Query Parameter

前端 未结 0 489
北海茫月
北海茫月 2021-01-07 06:09

I have a SlugRelatedField in my serializer and I\'d like to use it as a URL query parameter, I\'ve set up DjangoFilterBackend and it seems to work but I\'m only able to filt

相关标签:
回答
  • 消灭零回复
提交回复
热议问题