MCPcopy
hub / github.com/django/django / RejectRequest

Class RejectRequest

django/middleware/csrf.py:160–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158
159
160class RejectRequest(Exception):
161 def __init__(self, reason):
162 self.reason = reason
163
164
165class CsrfViewMiddleware(MiddlewareMixin):

Callers 2

_check_refererMethod · 0.85
_check_tokenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected