Some minor fixes and cleanups.

This commit is contained in:
Griatch 2016-09-14 23:27:55 +02:00
parent 07944918f7
commit 4a97a05c10
3 changed files with 3 additions and 4 deletions

View file

@ -28,7 +28,7 @@ class CaseInsensitiveModelBackend(ModelBackend):
return autologin
else:
# In this case .backend will be assigned automatically
# somewhere along the # way.
# somewhere along the way.
Player = get_user_model()
try:
player = Player.objects.get(username__iexact=username)