From 11634c0a0c9e3ab5db10e079488a360f21a2d899 Mon Sep 17 00:00:00 2001 From: Jaap Roes Date: Thu, 5 Oct 2023 08:12:31 +0200 Subject: [PATCH] Move stray comment (#897) Seems that this comment was moved to a somewhat random position after automated code cleanup, moved it back to where it was before. See: https://github.com/adamchainz/django-cors-headers/commit/c171a32794f932769c826fafaf91cc90ab30d0d2#diff-db31a113ed29f9d863809faac07a22adef130103b150b1305b53756baa398d6f --- src/corsheaders/conf.py | 2 -- src/corsheaders/defaults.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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",