Re: Stuck with Django Tutorial Part 4

2023-03-14 Thread Nithin Kumar
x27;, views.ResultsView.as_view(), name='results'), path('/vote/', views.vote, name='vote'), ] On Tue, Mar 14, 2023 at 3:44 PM Sandip Bhattacharya < sand...@showmethesource.org> wrote: > Can you share your urls.py? > > > On Mar 14, 2023, at 1:33

Re: Stuck with Django Tutorial Part 4

2023-03-14 Thread Nithin Kumar
27;re voting on question %s." % question_id) On Tuesday, March 14, 2023 at 1:22:25 PM UTC-4 Prosper Lekia wrote: > Let's see your views. > > On Tue, Mar 14, 2023, 14:32 Muhammad Juwaini Abdul Rahman < > juw...@gmail.com> wrote: > >> q

Stuck with Django Tutorial Part 4

2023-03-14 Thread Nithin Kumar
Hi, Stuck with this problem https://docs.djangoproject.com/en/4.1/intro/tutorial04/ NoReverseMatch at /polls/2/Reverse for 'vote' with arguments '(2,)' not found. 1 pattern(s) tried: ['polls/ {% csrf_token %} {{ question.question_text }} {% if error_message %}{{ error_