Re: Tutorial "Writing your first Django App": NoReverseMatch at /polls/ - down at the end of part 3

2020-04-22 Thread Awa M. Kinason
ive and iptables shows no restrictions e.g. >> > everything is allowed >> > How could I debug this? >> > >> > >> > On Wednesday, April 15, 2020 at 12:27:21 AM UTC+2, Markus Grossniklaus >> > wrote: >> >> >> >> a) I worked

Re: Tutorial "Writing your first Django App": NoReverseMatch at /polls/ - down at the end of part 3

2020-04-22 Thread sahil khan
: > >> > >> a) I worked the whole tutorial down to the bottom of part 3 > >> b) I connect with the browser to http://127.0.0.1:8000/polls/ > >> c) the result is: NoReverseMatch at /polls/ > >> d) all project data are attached to this

Re: Tutorial "Writing your first Django App": NoReverseMatch at /polls/ - down at the end of part 3

2020-04-19 Thread Jorge Gimeno
>> >> a) I worked the whole tutorial down to the bottom of part 3 >> b) I connect with the browser to http://127.0.0.1:8000/polls/ >> c) the result is: NoReverseMatch at /polls/ >> d) all project data are attached to this POST in mysite.zip >> e) I think it cann

Re: Tutorial "Writing your first Django App": NoReverseMatch at /polls/ - down at the end of part 3

2020-04-18 Thread Markus Grossniklaus
, Markus Grossniklaus wrote: > > a) I worked the whole tutorial down to the bottom of part 3 > b) I connect with the browser to http://127.0.0.1:8000/polls/ > c) the result is: NoReverseMatch at /polls/ > d) all project data are attached to this POST in mysite.zip > e) I think it can

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread Victor H. Velasquez Rizo
ro/tutorial04/). When I run >>> my website and go to the url:http://localhost:8000/polls/1/vote/, I am >>> greeted with an exception: >>> >>> NoReverseMatch at /polls/1/vote/ >>> value: u'polls' is not a registered namespace >>> >>&

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread Suresh Kannan
You should read the links https://docs.djangoproject.com/en/2.1/intro/tutorial03/#namespacing-url-names https://stackoverflow.com/questions/14892462/django-error-upolls-is-not-a-registered-namespace https://stackoverflow.com/questions/30935053/noreversematch-at-polls-1-vote Suresh On Thu, 21

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread odootesting00
greeted with an exception: >> >> NoReverseMatch at /polls/1/vote/ >> value: u'polls' is not a registered namespace >> >> >> >> It seems strange that 'polls' is not a registered namespace because it is >> the name of my django appl

Re: NoReverseMatch at /polls/1/

2015-10-05 Thread jahan
Hi James, That was it! thanks a bunch for pointing that out. cheers, Jack On Sunday, October 4, 2015 at 11:03:03 PM UTC+2, James Schneider wrote: > > > This is my mysite/url,py > > > > from django.contrib import admin > > > > urlpatterns = [ > > url(r'^admin/', include(admin.site.urls)), >

Re: NoReverseMatch at /polls/1/

2015-10-05 Thread lipt0n
just remove ,namespace = "polls" > > -- 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 post to this group, send email

Re: NoReverseMatch at /polls/1/

2015-10-05 Thread monoBOT
The problem is that you dont have any url that has the poll id as parameter. So django cant find it 2015-10-04 22:02 GMT+01:00 James Schneider : > > This is my mysite/url,py > > > > from django.contrib import admin > > > > urlpatterns = [ > > url(r'^admin/', include(admin.site.urls)), > >

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread James Schneider
> This is my mysite/url,py > > from django.contrib import admin > > urlpatterns = [ > url(r'^admin/', include(admin.site.urls)), > url(r'^polls/', include('polls.urls',namespace = "polls")), > ]. > Oh, yep, there's the problem. You added a namespace called 'polls' but you aren't referencin

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread jahan
wrote: > > My guess it's that your polls/urls.py file is not being processed/included > properly since none of your URL patterns were even tried. > > What does your mysite/urls.py file look like? > > -James > On Oct 4, 2015 12:35 PM, "jahan" > wrote: >

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread James Schneider
My guess it's that your polls/urls.py file is not being processed/included properly since none of your URL patterns were even tried. What does your mysite/urls.py file look like? -James On Oct 4, 2015 12:35 PM, "jahan" wrote: > Hi James, > > This is the error > &

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread jahan
Hi James, This is the error NoReverseMatch at /polls/1/ Reverse for 'detail' with arguments '(1,)' and keyword arguments '{}' not found. 0 pattern(s) tried: [] Request Method: GET Request URL: http://localhost:8000/polls/1/ Django Version: 1.8.4 Exception

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread James Schneider
Can you paste the entire error? Also, read through the error page, it should show you which line is causing the problem. -James On Oct 4, 2015 9:24 AM, "jahan" wrote: > Hi Django group, > > I'm following the tutorial and get stuck on *part 3, Removing hardcoded > URLs in templates* > > I read t

NoReverseMatch at /polls/1/

2015-10-04 Thread jahan
Hi Django group, I'm following the tutorial and get stuck on *part 3, Removing hardcoded URLs in templates* I read through the topics that discuss this, but can't find the issue in my case. my *detail.html* template looks like {{ question.question_text }} {% for choice in question.choice_se

Re: NoReverseMatch at /polls/1/results/

2015-05-09 Thread James Schneider
> > I agree that the typo is also an issue and should be fixed, but that >> wouldn't result in the OP's error, since reverse() is complaining about a >> 'detail' URL specifically. The typo would result in a similar error when >> the result page is displayed, and would show 'guestion' as one of the

Re: NoReverseMatch at /polls/1/results/

2015-05-09 Thread Daniel Roseman
On Saturday, 9 May 2015 05:05:00 UTC+1, James Schneider wrote: > > I agree that the typo is also an issue and should be fixed, but that > wouldn't result in the OP's error, since reverse() is complaining about a > 'detail' URL specifically. The typo would result in a similar error when > the res

Re: NoReverseMatch at /polls/1/results/

2015-05-08 Thread James Schneider
I agree that the typo is also an issue and should be fixed, but that wouldn't result in the OP's error, since reverse() is complaining about a 'detail' URL specifically. The typo would result in a similar error when the result page is displayed, and would show 'guestion' as one of the kwargs. -Jam

Re: NoReverseMatch at /polls/1/results/

2015-05-08 Thread Muhammad M
HM, Upon a closer look at your code (views.results), you have this: return render(request, 'polls/results.html', {'guestion': question}) You are passing "guestion" (with a G) to the template instead of "question" (with a Q). As such, your template complains when you try to use "question.id" bec

Re: NoReverseMatch at /polls/1/results/

2015-05-08 Thread Luis Zárate
Sorry, James is right, your problem is like James described. Sorry for the noise I read again and see that I understood bad your problem. Sorry El viernes, 8 de mayo de 2015, Luis Zárate escribió: > Which urls.py you paste here? The project URLs or the app urls .? > > It is because you are usin

Re: NoReverseMatch at /polls/1/results/

2015-05-08 Thread Luis Zárate
Which urls.py you paste here? The project URLs or the app urls .? It is because you are using namespace in the url reverse so you need to named in your project's URLs and put the code paste here in your app urls. El jueves, 7 de mayo de 2015, James Schneider escribió: > I'm guessing the issue is

Re: NoReverseMatch at /polls/1/results/

2015-05-07 Thread James Schneider
I'm guessing the issue is actually in your template if you are following along that page. None of the code in your views would generate that error from what I can see. The error indicates that you are trying to reverse('polls:detail') and not providing any arguments for the URL resolver (or are pa

NoReverseMatch at /polls/1/results/

2015-05-07 Thread H M
I am on part 4 django tutorial. The tutorial is very good and I easily get on part 4 but I get error: Reverse for 'detail' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'polls/(?P\\d+)/$'] Am I missing something? My code is following: urlpatterns = pa

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2014-03-21 Thread Daniel Roseman
om/en/1.6/intro/tutorial04/). When I run my > website and go to the url:http://localhost:8000/polls/1/vote/, I am > greeted with an exception: > > NoReverseMatch at /polls/1/vote/ > value: u'polls' is not a registered namespace > > > > It seems strange that

Django Tutorials: NoReverseMatch at /polls/1/vote/

2014-03-20 Thread wasingej
://localhost:8000/polls/1/vote/, I am greeted with an exception: NoReverseMatch at /polls/1/vote/ value: u'polls' is not a registered namespace here is templates/polls/detail.html: {{ poll.question }} {% if error_message %}{{ error_message }}{% endif %} < {{ choice.choice_text

Re: [SOLVED] NoReverseMatch at /polls/

2013-09-07 Thread voger
lenty results but none of them seems to be related exactly to this situation or maybe it is over my head to understand what is going on. When I visit http://127.0.0.1:8000/polls/ i get NoReverseMatch at /polls/ Reverse for 'detail' with arguments '(1,)' and keyword arguments '

Re: NoReverseMatch at /polls/

2013-09-07 Thread voger
plenty results but none of them seems to be related exactly to this situation or maybe it is over my head to understand what is going on. When I visit http://127.0.0.1:8000/polls/ i get NoReverseMatch at /polls/ Reverse for 'detail' with arguments '(1,)' and keyword argum

NoReverseMatch at /polls/

2013-09-07 Thread voger
understand what is going on. When I visit http://127.0.0.1:8000/polls/ i get NoReverseMatch at /polls/ Reverse for 'detail' with arguments '(1,)' and keyword arguments '{}' not found. Request Method: GET Request URL:http://127.0.0.1:8000/polls/ Django Ve

NoReverseMatch at /polls/1/vote/

2011-06-13 Thread jaspreet kaur
I am doing poll application at last stage i got an error : Reverse for 'polls/poll_results' with arguments '()' and keyword arguments '{'object_id': 1L}' not found. please help me -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this