AttributeError at / 'Product' object has no attribute 'get_category_display'

后端 未结 0 1941
暖寄归人
暖寄归人 2021-01-20 05:26

hi I want in my products api show the name of category instead of showing category id . I wrote a function to do that for me but I have this error:



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