diff --git a/get_together/settings.py b/get_together/settings.py index 4c3ad0f..ce84d5f 100644 --- a/get_together/settings.py +++ b/get_together/settings.py @@ -56,6 +56,7 @@ INSTALLED_APPS = [ 'accounts', 'resume', 'simple_ga', + 'totd', ] LOGIN_URL = 'login' @@ -105,6 +106,7 @@ TEMPLATES = [ 'social_django.context_processors.login_redirect', 'django_settings_export.settings_export', 'simple_ga.context_processors.events', + 'totd.context_processors.tips', ], }, }, @@ -204,6 +206,7 @@ SETTINGS_EXPORT = [ # Make django messages framework use Bootstrap's alert style classes from django.contrib.messages import constants as messages MESSAGE_TAGS = { + messages.DEBUG: 'alert-debug', messages.INFO: 'alert-info', messages.SUCCESS: 'alert-success', messages.WARNING: 'alert-warning', diff --git a/get_together/static/css/get_together.css b/get_together/static/css/get_together.css index 3462768..fa10c09 100644 --- a/get_together/static/css/get_together.css +++ b/get_together/static/css/get_together.css @@ -121,6 +121,12 @@ ul.errorlist li { text-shadow: 2px 2px #444; } +.alert-debug { + color: #383d41; + background-color: #e2e3e5; + border-color: #d6d8db; + } + .btn-default { color: #fff; background-color: #848484; diff --git a/get_together/templates/get_together/base.html b/get_together/templates/get_together/base.html index 4426aee..9661c94 100644 --- a/get_together/templates/get_together/base.html +++ b/get_together/templates/get_together/base.html @@ -1,4 +1,4 @@ -{% load static %} +{% load static markup %}
@@ -90,7 +90,13 @@