Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Configure ALLOWED_HOSTS.

  • Loading branch information...
commit b2e9c9f55a7b06dd63c238f4be7509abc6846b8b 1 parent 65d2583
@aaugustin aaugustin authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  django_docs/settings.py
  2. +2 −0  django_www/settings.py
View
2  django_docs/settings.py
@@ -5,6 +5,8 @@
### Django settings
+ALLOWED_HOSTS = ['docs.djangoproject.com']
+
CACHE_MIDDLEWARE_KEY_PREFIX = 'djangodocs'
INSTALLED_APPS = [
View
2  django_www/settings.py
@@ -5,6 +5,8 @@
### Django settings
+ALLOWED_HOSTS = ['www.djangoproject.com', 'djangoproject.com']
+
CACHE_MIDDLEWARE_KEY_PREFIX = 'djangoproject'
DATABASES['trac'] = {
Please sign in to comment.
Something went wrong with that request. Please try again.