Permalink
Browse files

Configure ALLOWED_HOSTS.

  • Loading branch information...
1 parent 65d2583 commit b2e9c9f55a7b06dd63c238f4be7509abc6846b8b @aaugustin aaugustin committed Feb 20, 2013
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'] = {

0 comments on commit b2e9c9f

Please sign in to comment.