Fixed WSGIRequest object has no attribute session exception