How to get the current urlname using Django?
Posted
by e-satis
on Stack Overflow
See other posts from Stack Overflow
or by e-satis
Published on 2010-03-22T11:00:18Z
Indexed on
2010/03/22
11:21 UTC
Read the original article
Hit count: 337
I have to build an url dynamically according to the current url. Uring the {% url %} is the easiest way to do it, but I need the current url name to do so.
How can I get the url name attached to the urlconf that leads to the current view?
© Stack Overflow or respective owner