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
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
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
3 matches
Mail list logo