How Default random image in ImageField

前端 未结 0 1294
遇见更好的自我
遇见更好的自我 2021-02-10 06:27

I have a Post model, and I want to add a random photo from the static directory when creating a new post.

In the static directory, I have a folder with images. And a medi

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