1

I've some image files that are in the 'img' folder in the static directory of django app. I want to access them all and store into a list in my 'views.py' so that I can iterate through them to display them by rendering them through the template. How can that be done? How to access static files in django views?

user10058776
  • 173
  • 1
  • 2
  • 16

0 Answers0