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 342081a commit c63d45dCopy full SHA for c63d45d
.gitignore
@@ -6,3 +6,4 @@ django/media/
6
django/static/
7
dump.*
8
.env/
9
+.idea/
django/example/settings.py
@@ -9,7 +9,7 @@
10
DEBUG = True
11
12
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['0.0.0.0']
13
14
INTERNAL_IPS = ["127.0.0.1"]
15
@@ -51,8 +51,13 @@
51
"BACKEND": "django.template.backends.django.DjangoTemplates",
52
"DIRS": [],
53
"APP_DIRS": True,
54
- "OPTIONS": {
55
- "context_processors": ["django.contrib.auth.context_processors.auth"]
+ 'OPTIONS': {
+ 'context_processors': [
56
+ 'django.template.context_processors.debug',
57
+ 'django.template.context_processors.request',
58
+ 'django.contrib.auth.context_processors.auth',
59
+ 'django.contrib.messages.context_processors.messages',
60
+ ],
61
},
62
}
63
]
0 commit comments