diff --git a/core/forms.py b/core/forms.py index 1ac601e2..15032abd 100644 --- a/core/forms.py +++ b/core/forms.py @@ -27,7 +27,7 @@ class LoginForm(AuthenticationForm): if u is not None: if u.is_active: login(self.request, u) - logging.debug("Logging in "+u) + logging.debug("Logging in "+str(u)) else: raise forms.ValidationError( self.error_messages['invalid_login'], diff --git a/core/templates/core/base.html b/core/templates/core/base.html index e9573f29..f0213010 100644 --- a/core/templates/core/base.html +++ b/core/templates/core/base.html @@ -18,6 +18,9 @@