Follow the django tutorial but failure

2017-04-05 Thread Chris Chan
Hi, I'm try to follow the Django tutorial and modify something but failure. When I execute the web page is error and the Django server console said " Method not allowed (Post): /polls/3/results/" But I'm type address : http://127.0.0.1:8000/polls/3/results/ is fine, thanks In "First app, Part 4"

Re: Follow the django tutorial but failure

2017-04-05 Thread ludovic coues
The full stacktrace and the code of your view would be helpful, thanks 2017-04-05 6:12 GMT+02:00 Chris Chan : > Hi, > I'm try to follow the Django tutorial and modify something but failure. > When I execute the web page is error and the Django server console said " > Method not allowed (Post): /po

Re: Follow the django tutorial but failure

2017-04-05 Thread ludovic coues
traceback, not stacktrace, sorry. 2017-04-05 17:30 GMT+02:00 ludovic coues : > The full stacktrace and the code of your view would be helpful, thanks > > 2017-04-05 6:12 GMT+02:00 Chris Chan : >> Hi, >> I'm try to follow the Django tutorial and modify something but failure. >> When I execute the w

Re: Follow the django tutorial but failure

2017-04-05 Thread C. Kirby
When you type in the url it submits a GET, but the form submission (an the error tell this explicitly) uses a POST. Likely you did not handle a POST method in your view. On Wednesday, April 5, 2017 at 6:25:23 PM UTC+3, Chris Chan wrote: > > Hi, > I'm try to follow the Django tutorial and modify