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 5e06089 commit e9940caCopy full SHA for e9940ca
djangoblog/settings.py
@@ -36,7 +36,7 @@ def env_to_bool(env, default):
36
# ALLOWED_HOSTS = []
37
ALLOWED_HOSTS = ['*', '127.0.0.1', 'example.com']
38
# Application definition
39
-
+CSRF_TRUSTED_ORIGINS = ['http://example.com']
40
41
INSTALLED_APPS = [
42
# 'django.contrib.admin',
0 commit comments