Added login api
This commit is contained in:
14
acer-env/lib/python3.10/site-packages/corsheaders/apps.py
Normal file
14
acer-env/lib/python3.10/site-packages/corsheaders/apps.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from django.apps import AppConfig
|
||||
from django.core.checks import Tags, 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)
|
||||
Reference in New Issue
Block a user