diff options
-rw-r--r-- | online_test/settings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/online_test/settings.py b/online_test/settings.py index 3932cf3..6838865 100644 --- a/online_test/settings.py +++ b/online_test/settings.py @@ -163,6 +163,7 @@ TEMPLATES = [ 'django.contrib.auth.context_processors.auth', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', + 'django.contrib.messages.context_processors.messages', ], 'debug': False, } @@ -187,3 +188,4 @@ SOCIAL_AUTH_FACEBOOK_SCOPE = ['email'] SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS = { 'fields': 'id, name, email' } + |