diff --git a/src/corsheaders/conf.py b/src/corsheaders/conf.py index 226b5325..116894fd 100644 --- a/src/corsheaders/conf.py +++ b/src/corsheaders/conf.py @@ -12,8 +12,6 @@ from corsheaders.defaults import default_headers from corsheaders.defaults import default_methods -# Kept here for backwards compatibility - class Settings: """ diff --git a/src/corsheaders/defaults.py b/src/corsheaders/defaults.py index b3ea2eb1..943b9c06 100644 --- a/src/corsheaders/defaults.py +++ b/src/corsheaders/defaults.py @@ -1,5 +1,7 @@ from __future__ import annotations +# Kept here for backwards compatibility + default_headers = ( "accept", "authorization",