Re: Passing message to 404

2010-03-03 Thread Wiiboy
Thanks for your reply. One question though: How would I pass the message itself from view to view (the view raising the error to my 404 view)? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@goo

Re: Passing message to 404

2010-03-03 Thread Eugene Wee
Hi, On Thu, Mar 4, 2010 at 11:20 AM, Wiiboy wrote: > Is there a way to pass a message when I create a 404 error > programmatically (i.e. from a view)?  In my case, I'm using > get_object_or_404, and I'd like to say something like, "That user does > not exist" (this is for looking at user profiles

Passing message to 404

2010-03-03 Thread Wiiboy
Hi, Is there a way to pass a message when I create a 404 error programmatically (i.e. from a view)? In my case, I'm using get_object_or_404, and I'd like to say something like, "That user does not exist" (this is for looking at user profiles). -- You received this message because you are subscri