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

前端 未结 0 1846
别那么骄傲
别那么骄傲 2021-02-08 11:17

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

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