Login view works! Forms have been reshuffled (Django apparently comes with built...
[~kgodey/maayanwich.git] / templates / onesandwich.html
index 0feaa5b..a8096db 100644 (file)
@@ -4,7 +4,7 @@
        <body>
                <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 %}