Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jobec committed Dec 10, 2018
1 parent ad6d753 commit 1f52885
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
Expand Down
2 changes: 1 addition & 1 deletion django_auth_adfs/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
Expand Down

0 comments on commit 1f52885

Please sign in to comment.