Files
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

16 lines
378 B
Python

from __future__ import annotations
from django.apps import AppConfig
from django.core.checks import register
from django.core.checks import Tags
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)