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 <
> [email protected] <javascript:>> 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 (and the page) are completely correct, and I missed the relevant line, 
reading through, a half dozen times in a row. Apologies. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/c18b8de4-0895-49e4-86a0-a44dc3be7ee1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to