chore: provide clearer csrf url example (#2833)

This commit is contained in:
Reinaldy Rafli 2024-02-28 00:29:28 +07:00 committed by GitHub
parent 45a92bdaa5
commit 1ddf4e508e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -340,4 +340,4 @@ CSP_REPORT_ONLY = True
# this to match your IPs/domains. Ports should be included if you are using custom ports.
# https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS
# CSRF_TRUSTED_ORIGINS = ["example.com", "127.0.0.1:9000"]
# CSRF_TRUSTED_ORIGINS = ["https://example.com", "http://127.0.0.1:9000"]