Re: Tutorial missing import: Http404

2015-04-10 Thread John Matthew Ian Davis
On Friday, April 10, 2015 at 3:33:36 PM UTC-7, Ramiro Morales wrote: > > On Fri, Apr 10, 2015 at 6:31 PM, John Matthew Ian Davis < > johnmatth...@gmail.com > wrote: > >> obviously one needs to change: >> >> from django.http import HttpResponse, >> >> to >> >> from django.http import

Re: Tutorial missing import: Http404

2015-04-10 Thread Ramiro Morales
On Fri, Apr 10, 2015 at 6:31 PM, John Matthew Ian Davis < johnmatthewianda...@gmail.com> wrote: > obviously one needs to change: > > from django.http import HttpResponse, > > to > > from django.http import HttpResponse, Http404 > If you are talking about part 3 of the tutorial then it in fact

Tutorial missing import: Http404

2015-04-10 Thread John Matthew Ian Davis
obviously one needs to change: from django.http import HttpResponse, to from django.http import HttpResponse, Http404 but that's a speed-bump that should not be in the tutorial. NameError at /polls/34/ global name 'Http404' is not defined Request Method: GET Request URL: