Repository URL to install this package:
|
Version:
3.0.2 ▾
|
django-cors-headers
/
signals.py
|
|---|
from __future__ import absolute_import
from django.dispatch import Signal
# If any attached handler returns Truthy, CORS will be allowed for the request.
# This can be used to build custom logic into the request handling when the
# configuration doesn't work.
check_request_enabled = Signal(providing_args=['request'])