diff --git a/hub/services/templates/base.html b/hub/services/templates/base.html index fd32704..b549e08 100644 --- a/hub/services/templates/base.html +++ b/hub/services/templates/base.html @@ -19,7 +19,9 @@ {% block extra_css %}{% endblock %} + {% if not debug %} + {% endif %} diff --git a/hub/settings.py b/hub/settings.py index dd5064a..7ffec5a 100644 --- a/hub/settings.py +++ b/hub/settings.py @@ -41,6 +41,7 @@ SECRET_KEY = env.str("SECRET_KEY") # SECURITY WARNING: don't run with debug turned on in production! DEBUG = env.bool("DEBUG", default=False) +INTERNAL_IPS = ["127.0.0.1"] # Get all allowed hosts original_hosts = env.list("ALLOWED_HOSTS", default=[])