I have a url which is generated using {{request.get_ull_path}}
. I want to split and get last part of it using django template tag.
<a href="{{ request.get_full_path }}">
which gives me
abc.me/profile/bio/
How can I get only last part (bio) using django template tag? Or do I have to write custom template tag?