A
A
Andrey2015-05-26 14:04:17
Django
Andrey, 2015-05-26 14:04:17

What is the Django application for dealing with sessions and HTTP Referers?

Good time of the day!
Recommend an application for Django to implement a mechanism for returning to the pages from which the transition was made. Those. for example: the user went to a page with a form, filled out the form crookedly, she returned, filled out the form correctly and returned back.
At a primitive level, I have implemented several functions for working with sessions and request.META.get('HTTP_REFERER'), but I would like to familiarize myself with existing solutions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Shikanov, 2015-05-27
@whitehunter

Something like this ?
Well, or you can write a fairly simple middleware.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question