mirror of https://github.com/sgoudham/Enso-Bot.git
12 lines
256 B
Python
12 lines
256 B
Python
5 years ago
|
from django.core.exceptions import SuspiciousOperation
|
||
|
|
||
|
|
||
|
class InvalidSessionKey(SuspiciousOperation):
|
||
|
"""Invalid characters in session key"""
|
||
|
pass
|
||
|
|
||
|
|
||
|
class SuspiciousSession(SuspiciousOperation):
|
||
|
"""The session may be tampered with"""
|
||
|
pass
|