Added CSRF Origin in settings (#14062)

This commit is contained in:
John Westcott IV
2023-07-05 15:18:23 -04:00
committed by GitHub
parent 4a34ee1f1e
commit 5e9d514e5e
9 changed files with 56 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ class ConfConfig(AppConfig):
def ready(self):
self.module.autodiscover()
if not set(sys.argv) & {'migrate', 'check_migrations'}:
if not set(sys.argv) & {'migrate', 'check_migrations', 'showmigrations'}:
from .settings import SettingsWrapper
SettingsWrapper.initialize()