diff --git a/example_project/posts/templates/posts/post_detail.html b/example_project/posts/templates/posts/post_detail.html index 60687d6..14847ee 100644 --- a/example_project/posts/templates/posts/post_detail.html +++ b/example_project/posts/templates/posts/post_detail.html @@ -15,7 +15,7 @@ URL: {{ my_video.url }} Code: {{ my_video.code }} Thumbnail: {{ my_video.thumbnail }} - HTTPS: {% if my_video.is_secure %}Yes{% else %}No{% endif %} + HTTPS: {% if my_video.protocol == 'https' %}Yes{% else %}No{% endif %} {% video my_video "large" %} {% endvideo %}