Re: Error during template rendering

2022-04-11 Thread emmanuel odor
Thanks Antonis On Sunday, April 10, 2022 at 9:54:09 AM UTC+1 Antonis Christofides wrote: > Hi! > > The error message 'relation "curriculum_standard" does not exist' has been > produced by PostgreSQL, and Django merely repeats it. In other words, > Django is telling you that while it was doing w

Re: Error during template rendering

2022-04-10 Thread Antonis Christofides
Hi! The error message 'relation "curriculum_standard" does not exist' has been produced by PostgreSQL, and Django merely repeats it. In other words, Django is telling you that while it was doing what it was doing, an error occurred in the RDBMS, and it is showing you the error message that the

Re: Error during template rendering

2019-05-23 Thread Jim Illback
This error comes when there is a {% url %} tag that is not set up properly - like the views.py line highlighted below. So, I suspect you have such a tag say tied to a button on the html page, but it isn’t included in this thread. There’s another error in the code not related to your reverse erro

Re: Error during template rendering

2019-05-23 Thread cixtus anyanwu
Still got this erorr. thanks File "C:\Users\ANYANWU\djangogirls\myvenv\lib\site-packages\django\urls\resolvers.py", line 634, in _reverse_with_prefix raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'post_details' with keyword arguments '{'pk': 3}' not found. 1

Re: Error during template rendering

2019-05-23 Thread Jim Illback
Below, post is a DB row, not an ID as the URL.py requires. Change the view as: return render(request, ‘blog/post_details.html’, {‘pk’: posts[‘id’]}) Jim On May 23, 2019, at 11:10 AM, Rock N Roll Mühlbacher mailto:chmuhlbache...@gmail.com>> wrote: Am Donnerstag, 23. Mai 2019 20:06:31 UTC+2 sc

Re: Error during template rendering

2019-05-23 Thread Rock N Roll Mühlbacher
Am Donnerstag, 23. Mai 2019 20:06:31 UTC+2 schrieb cixtus anyanwu: > Guys am following the django girls pdf tutoril but am stuck here. Its saying: > > > > django.urls.exceptions.NoReverseMatch: Reverse for 'post_details' with > keyword arguments '{'pk': 3}' not found. 1 pattern(s) tried: ['post