Skip to content

Commit e33bc39

Browse files
committed
test
1 parent b8dab0a commit e33bc39

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/admin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,4 +329,5 @@ def _split_env_list(key):
329329
CSRF_COOKIE_SAMESITE = os.getenv("CSRF_COOKIE_SAMESITE", "Lax")
330330

331331
# Django 4.0+는 CSRF_TRUSTED_ORIGINS에 scheme 포함이 필수
332-
CSRF_TRUSTED_ORIGINS = _split_env_list("CSRF_TRUSTED_ORIGINS")
332+
CSRF_TRUSTED_ORIGINS = _split_env_list("CSRF_TRUSTED_ORIGINS")
333+
ACCOUNT_DEFAULT_HTTP_PROTOCOL = "https"

0 commit comments

Comments
 (0)