I need to know in my view or template, which has been the previous URL to which I am. I am using request.get_full_path()
but this returns the current url.
Is there any way to know the previous url?
I need it because I have a view that can be called from two different templates, and I need to know what template or view has called.
Greetings