Hotel/env/lib/python3.5/site-packages/django/contrib/sessions/exceptions.py

12 lines
256 B
Python

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