Re: TemplateDoesNotExist

2020-12-21 Thread Peter T
nvm, I fixed it On Monday, December 21, 2020 at 11:06:31 AM UTC-5 Peter T wrote: > templatedoesnotexist. I keep getting this error how do I fix it > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

TemplateDoesNotExist

2020-12-21 Thread Peter T
templatedoesnotexist. I keep getting this error how do I fix it -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To vie

Re: Django/python free Training

2020-12-21 Thread Peter T
I'm interested. I think for a tutorial you should read and follow along with the django documentation but explain it in more depth On Friday, December 18, 2020 at 9:27:14 AM UTC-5 rampage...@gmail.com wrote: > Hi guys, > > I am manucho from Kenya and am good developer with django and python and

Re: How can you do a for loop with a database?

2020-12-14 Thread Peter T
ll() >>> } >>> >>> Then in the template: >>> {% for item in items %} >>> {{ item.text }} >>> {% endfor %} >>> >>> Here ‘text’ is the property on the database model you want to display. >>> >>> >>> Regard

Re: How can you do a for loop with a database?

2020-12-14 Thread Peter T
: > {% for item in items %} > {{ item.text }} > {% endfor %} > > Here ‘text’ is the property on the database model you want to display. > > > Regards, > > > Andréas > > 12 dec. 2020 kl. 17:11 skrev Peter T : > > Example: > > context = (database model) &

How can you do a for loop with a database?

2020-12-12 Thread Peter T
Example: context = (database model) def index(request): render(index.html, context) HTML Template: {% for i in context %} { database.text } -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece