Skip to content

Commit

Permalink
Add ALLOWED_HOSTS, required as of Django 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
handrews committed May 30, 2015
1 parent 89dec52 commit 297d378
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions settings.py
Expand Up @@ -21,6 +21,11 @@
DEBUG = True
TEMPLATE_DEBUG = DEBUG

ALLOWED_HOSTS = [
'.comics.org',
'.comics.org.', # Allow FQDN and subdomains. Can be dropped in 1.7
]

# absolute path to the directory that holds templates.
TEMPLATE_DIRS = ( abspath(join(dirname(__file__), 'templates')),
abspath(join(dirname(__file__), 'apps', 'voting', 'templates')),)
Expand Down

0 comments on commit 297d378

Please sign in to comment.