Re: Displaying a photo from a database

2017-09-06 Thread ron_w_add via Django users
Hello James Your suggestion worked. Thank you very much for your help. Ron On Tuesday, September 5, 2017 at 10:04:04 PM UTC+1, James Schneider wrote: > > However, when I try to add the photo to the page I’m getting stuck. If I >> try adding ‘> >> >> {% block content %} >> >> < Back >>

Re: Displaying a photo from a database

2017-09-05 Thread James Schneider
> > However, when I try to add the photo to the page I’m getting stuck. If I > try adding ‘ > > {% block content %} > > < Back > {% if pht != None %} >{{ pht.name }} >{{ pht.location.name }} >{{ pht.description }} >{{ pht.photo_taken }} > "responsive-img"

Displaying a photo from a database

2017-09-05 Thread ron_w_add via Django users
Hello I have this photo: wildlifephotos/2017/07/26/2017-06-30_Lansdowne_-_Syrphus_Sp_A_01.JPG in the project’s following folder mysite/media as per the following (simplified) tree C:. | \---mysite | db.sqlite3 | manage.py | +---media | |