def getdb(): print(request.session[\'process\']) return request.session[\'process\'] I need to access this function in class Meta: in django
def getdb(): print(request.session[\'process\']) return request.session[\'process\']