~developer-ubuntu-com-dev/developer-ubuntu-com/stable

« back to all changes in this revision

Viewing changes to developer_portal/settings.py

  • Committer: Michael Hall
  • Date: 2014-12-17 20:55:29 UTC
  • Revision ID: mhall119@ubuntu.com-20141217205529-3rrphfz8lyarmx95
Allow disabling DEBUG_MODE, specifying ALLOWED_HOSTS, and add templates for 400, 404 and 500 errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
TEMPLATE_DEBUG = True
34
34
 
35
 
ALLOWED_HOSTS = []
 
35
ALLOWED_HOSTS = ['127.0.0.1', 'developer.ubuntu.com']
36
36
 
37
37
 
38
38
# Application definition