invalid characters in session key pass class suspicioussessionsuspiciousoperation the session was interrupted pass invalid characters in session key the session may be tampered with the session was interrupted
from django.core.exceptions import BadRequest, SuspiciousOperation


class InvalidSessionKey(SuspiciousOperation):
    

    pass


class SuspiciousSession(SuspiciousOperation):
    

    pass


class SessionInterrupted(BadRequest):
    

    pass