On 3-7-2012 21:38, Smaran Harihar wrote:
> Hey Djangoers,
> 
> I am on my tutorial 3 and I was on this
> topic<https://docs.djangoproject.com/en/dev/intro/tutorial03/#raising-404>
> .
> 
> And now if I try to access http://localhost:8000/polls/1/ it gives me the
> same error page, which it gives for other errors.
> 
> I know the error is because I have not yet created the detail.html page but
> is this the output for 'raise Http404' ?
> 

For the archives:
It's explained a little bit further:
<https://docs.djangoproject.com/en/dev/intro/tutorial03/#write-a-404-page-not-found-view>

In short: you don't have a 404 template, which causes a 500 error, which
causes the default exception details page as with other errors.
-- 
Melvyn Sopacua


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to