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 contains an import of Http404 and it's intrdroduced together with the first piece of code that uses it. It's right in the views.py snippet located under the "Raising a 404 error" section title: https://docs.djangoproject.com/en/1.8/intro/tutorial03/#raising-a-404-error Regards, -- Ramiro Morales @ramiromorales -- 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 to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO7PdF-p6F_6reyXKni0kuBeAyWDFia-%2BwZkG9HzLYLQfGYq5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.