Django: Get an attribute (imagefield) from a Foreign Key's reverse relation object

前端 未结 0 506
灰色年华
灰色年华 2021-02-08 10:43

I\'ve been struggling with the right syntax for this. I want to create a gallery of photo albums, and have a selectable cover photo for each album. But to do this, I need to gra

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