We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8dab0a commit e33bc39Copy full SHA for e33bc39
config/admin.py
@@ -0,0 +1,4 @@
1
+from django.contrib import admin
2
+from django.contrib.sites.models import Site
3
+
4
+admin.site.register(Site)
config/settings.py
@@ -329,4 +329,5 @@ def _split_env_list(key):
329
CSRF_COOKIE_SAMESITE = os.getenv("CSRF_COOKIE_SAMESITE", "Lax")
330
331
# Django 4.0+는 CSRF_TRUSTED_ORIGINS에 scheme 포함이 필수
332
-CSRF_TRUSTED_ORIGINS = _split_env_list("CSRF_TRUSTED_ORIGINS")
+CSRF_TRUSTED_ORIGINS = _split_env_list("CSRF_TRUSTED_ORIGINS")
333
+ACCOUNT_DEFAULT_HTTP_PROTOCOL = "https"
0 commit comments