What Django application exists for dealing with sessions and HTTP Referers?

  • 0
    Good time of the day!
    Recommend a Django application to implement a mechanism for returning to pages from which there was a transition. Those. for example: a user entered a page with a form, filled out the form crookedly, it came back, filled out the form correctly and came 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 see the existing solutions.
    Django Hunter McKee, Jan 25, 2020

  • 1 Answers
  • 0
    Something like this ?

    Well, or you can write a fairly simple middleware.

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!