I'm calling <td>{{ request.method }}</td> end it's empty while
{{ request_path }} returns request.path
It's realy strange
On Mar 23, 8:46 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> > Thanks, it solves the problem partially.
> > When I put 404.html in the templates root, I still cannot to pass
> > request object information to the template:
>
> > in django/views/defaults.py:
> > def page_not_found(request, template_name='404.html'):
> > t = loader.get_template(template_name)
> > return
> > http.HttpResponseNotFound(t.render(RequestContext(request)))
>
> > in 404.html:
> > {{ request.nethod }} is empty.
>
> Just making sure...are you calling "request.nethod" or
> "request.method"?
>
> -tkc
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---