U
U
Underground27132020-03-05 18:13:13
Django
Underground2713, 2020-03-05 18:13:13

Is it possible in Django to hide rendered data from the database in a template?

The bottom line is that the template has a video tag. In which I substitute the video resource from the database.

<source src="{{video.urlvideo}}" type="video/mp4" />

But I need the user to not see it and not be able to download the video directly (the link to the video itself).
Is it even possible to do this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question