diff --git a/humbug/settings.py b/humbug/settings.py index e1fa786948..a5e7944579 100644 --- a/humbug/settings.py +++ b/humbug/settings.py @@ -7,6 +7,9 @@ deployed = (platform.node() == 'humbug-dev') DEBUG = not deployed TEMPLATE_DEBUG = DEBUG +if DEBUG: + INTERNAL_IPS = ('127.0.0.1',) + ADMINS = ( ('Jessica McKellar', 'jessica.mckellar@gmail.com'), ) diff --git a/templates/zephyr/index.html b/templates/zephyr/index.html index 2f7a7ea4a3..c82309cd21 100644 --- a/templates/zephyr/index.html +++ b/templates/zephyr/index.html @@ -29,6 +29,11 @@ + +{% if debug %} + +{% endif %} +