How is the url before I am?

0

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

    
asked by David 22.09.2017 в 13:32
source

0 answers