From 1f5288570b79e4b16f9006d4618834eb73705c88 Mon Sep 17 00:00:00 2001 From: Joris Beckers Date: Mon, 10 Dec 2018 21:28:59 +0100 Subject: [PATCH] Fix typos --- README.rst | 2 +- django_auth_adfs/backend.py | 2 +- docs/install.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index caa784b..d21362d 100644 --- a/README.rst +++ b/README.rst @@ -80,7 +80,7 @@ In your project's ``settings.py`` add these settings. # the LoginRequiredMixin on every view class # # You can specify URLs for which login is not enforced by - # specifying them in LOGIN_EXEMPT_URLS in setting. + # specifying them in the LOGIN_EXEMPT_URLS setting. 'django_auth_adfs.middleware.LoginRequiredMiddleware', ) diff --git a/django_auth_adfs/backend.py b/django_auth_adfs/backend.py index 2970579..79f81d8 100644 --- a/django_auth_adfs/backend.py +++ b/django_auth_adfs/backend.py @@ -229,7 +229,7 @@ def update_user_flags(self, user, claims): else: value = False setattr(user, flag, value) - logger.debug('Attribute "{}" for user "{}" was set to "{}".'.format(user, flag, value)) + logger.debug("Attribute '{}' for user '{}' was set to '{}'.".format(user, flag, value)) else: msg = "User model has no field named '{}'. Check ADFS boolean claims mapping." raise ImproperlyConfigured(msg.format(flag)) diff --git a/docs/install.rst b/docs/install.rst index fcb87f8..8620b2b 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -79,7 +79,7 @@ In your project's ``settings.py`` add these settings. # the LoginRequiredMixin on every view class # # You can specify URLs for which login is not enforced by - # specifying them in LOGIN_EXEMPT_URLS in setting. + # specifying them in the LOGIN_EXEMPT_URLS setting. 'django_auth_adfs.middleware.LoginRequiredMiddleware', )