Re: Raise 404

2012-07-04 Thread Melvyn Sopacua
On 3-7-2012 21:38, Smaran Harihar wrote:
> Hey Djangoers,
> 
> I am on my tutorial 3 and I was on this
> topic
> .
> 
> 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:


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 django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Raise 404

2012-07-03 Thread Bill Freeman
We can't answer, since we don't know what page you're seeing.  We can't
access your localhost:8000 to check.

On Tue, Jul 3, 2012 at 3:38 PM, Smaran Harihar  wrote:
> Hey Djangoers,
>
> I am on my tutorial 3 and I was on this topic.
>
> 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' ?
>
> --
> Thanks & Regards
> Smaran Harihar
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

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



Raise 404

2012-07-03 Thread Smaran Harihar
Hey Djangoers,

I am on my tutorial 3 and I was on this
topic
.

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' ?

-- 
Thanks & Regards
Smaran Harihar

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