[Answer]-Access request from inherit class ( view )

1👍

request object is available as a property of a View instance:

def somemethod(self):
    self.request.session['idsession']

Leave a comment