Reading path in templates

Posted by DJPython on Stack Overflow See other posts from Stack Overflow or by DJPython
Published on 2010-01-24T17:12:50Z Indexed on 2010/04/09 7:43 UTC
Read the original article Hit count: 252

Filed under:
|
|

Hello, is it any way to read path to current page? For example, I am at www.example.com/foo/bar/ - and I want to read '/foo/bar/'. But, all have to be done in template file without modyficating views. I have to many view files to edit each one. Sorry for my english, hope everyone understand. Cheers.

© Stack Overflow or respective owner

Related posts about django

Related posts about django-templates