[Answered ]-Get Session Data in Django Forms

2👍

You can’t just import the HttpRequest class and expect it to have the values from the current request. You need to actually pass in that current request from the view.

Leave a comment