You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
359 B
19 lines
359 B
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
|
|
|
|
|
|
class SessionInterrupted(BadRequest):
|
|
"""The session was interrupted."""
|
|
|
|
pass
|
|
|