S
S
Spoon in the brain2019-08-17 18:51:39
Flask
Spoon in the brain, 2019-08-17 18:51:39

How to encrypt file path in jinja2?

Let's change the path to the image:

<img class="_1data" src="{{url_for('static', filename='data/avatars/1.png')}}">

Is it possible to encrypt the file path itself in jinja2?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-08-17
@vessels

No.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question