V
V
Vladimir Timoshko2019-07-08 00:04:28
Django
Vladimir Timoshko, 2019-07-08 00:04:28

How can I make the image appear only if it exists?

Perhaps most did not understand the name, but the essence of the question is this:
How, without adding a picture in a post exposed in django admin, to make sure that there is no error on the page?
That is, exposing a post without a picture, although on the condition that it should be done so that there are no errors?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2019-07-08
@IIIaTaTeJIb

https://docs.djangoproject.com/en/2.2/ref/template...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question