
| Current Path : /var/www/wsgi/www/api/venv/lib64/python3.12/site-packages/corsheaders/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/wsgi/www/api/venv/lib64/python3.12/site-packages/corsheaders/apps.py |
from __future__ import annotations
from django.apps import AppConfig
from django.core.checks import Tags
from django.core.checks import register
from corsheaders.checks import check_settings
class CorsHeadersAppConfig(AppConfig):
name = "corsheaders"
verbose_name = "django-cors-headers"
def ready(self) -> None:
register(Tags.security)(check_settings)