Answer the question
In order to leave comments, you need to log in
How to get the url of an image loaded in a FileField in a Django model?
The essence of the problem is this:
There is a page with the output of objects through generic views. Each object is displayed in a separate DIV.
It is necessary that in this DIV the background image be the image loaded in the object's FileField.
How to implement it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question