fix image test in Assignments

parent cd6d2b07
...@@ -12,8 +12,9 @@ ...@@ -12,8 +12,9 @@
<div id = "details"> <div id = "details">
<a href = "/assignments"> > Back to home </a> <a href = "/assignments"> > Back to home </a>
<br> <br>
<!-- <img src="{%static 'images/jokebear.png'%}">--> {% if object.image %}
<img src = "{{object.image.url}}"> <img src = "{{object.image.url}}">
{% endif %}
<h5> Assignment Name: </h5> <h5> Assignment Name: </h5>
<h3>{{object.name}} </h3> <h3>{{object.name}} </h3>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment