How to get the current URL within a Django template?

I was wondering how to get the current URL within a template.

Say my current URL is:

.../user/profile/

How do I return this to the template?

16 Answers
16

Leave a Comment