Login view works! Forms have been reshuffled (Django apparently comes with built...
[~kgodey/maayanwich.git] / templates / allsandwiches.html
index 64f734f..102f86c 100644 (file)
@@ -6,7 +6,7 @@
                {% for s in sandwiches %}
                        <h3>{{ s.adjective }}</h3>
                        <p>Made on {{ s.date_made }} and added by {{ s.user.username }}.</p>
                {% for s in sandwiches %}
                        <h3>{{ s.adjective }}</h3>
                        <p>Made on {{ s.date_made }} and added by {{ s.user.username }}.</p>
-                       <img src="{{ s.picture }}">
+                       <img src="{{ s.picture.url }}">
                        <h5>Ingredients</h5>
                        <ul>
                                {% for i in s.ingredients.all %}
                        <h5>Ingredients</h5>
                        <ul>
                                {% for i in s.ingredients.all %}