Skip to content

Commit

Permalink
Allow adding extra allowed_hosts for local testing et al.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderanger committed Oct 18, 2013
1 parent e9af771 commit 65b80e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_www/settings.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


### Django settings ### Django settings


ALLOWED_HOSTS = ['www.djangoproject.com', 'djangoproject.com'] ALLOWED_HOSTS = ['www.djangoproject.com', 'djangoproject.com'] + SECRETS.get('allowed_hosts', [])


CACHE_MIDDLEWARE_KEY_PREFIX = 'djangoproject' CACHE_MIDDLEWARE_KEY_PREFIX = 'djangoproject'


Expand Down

0 comments on commit 65b80e1

Please sign in to comment.