• 3.2
  • dev
  • Documentation version: 4.0

Kode sumber untuk django.contrib.sessions.exceptions

from django.core.exceptions import BadRequest, SuspiciousOperation


class InvalidSessionKey(SuspiciousOperation):
    """Invalid characters in session key"""

    pass


class SuspiciousSession(SuspiciousOperation):
    """The session may be tampered with"""

    pass


[docs]class SessionInterrupted(BadRequest): """The session was interrupted.""" pass
Back to Top