Re: raise Http404("my message")

2008-07-03 Thread Norman Harman
Aljosa Mohorovic wrote: > if i call raise Http404("my message") and i set custom view to handle > 404 errors how do i get "my message" in that view? I was gonna say look at the default 404 template. But, in my django (newforms admin branch) /django/contrib/admin/templ

Re: raise Http404("my message")

2008-07-03 Thread Malcolm Tredinnick
On Thu, 2008-07-03 at 08:40 -0700, Aljosa Mohorovic wrote: > if i call raise Http404("my message") and i set custom view to handle > 404 errors how do i get "my message" in that view? You don't. The default 404 handler serves up a template and passes it the req

raise Http404("my message")

2008-07-03 Thread Aljosa Mohorovic
if i call raise Http404("my message") and i set custom view to handle 404 errors how do i get "my message" in that view? Aljosa --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user