X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=localauth%2Fviews.py;h=e782b6f6c5c71705e5a09b34d2c99c069b37a527;hb=29a9340139de5dc9537985c0fefa145b0b1c2afd;hp=b959e730980eabadcffe9371e3fa44eb5a4e0344;hpb=135139e3638f53dab4643f249403870297e62412;p=unfold.git diff --git a/localauth/views.py b/localauth/views.py index b959e730..e782b6f6 100644 --- a/localauth/views.py +++ b/localauth/views.py @@ -1,3 +1,5 @@ +from __future__ import print_function + from django.contrib.auth import logout from django.http import HttpResponseRedirect @@ -8,7 +10,7 @@ def logout_user (request): # check that we're indeed logged in if not request.user.is_authenticated(): return HttpResponseRedirect ('/') - print "LOGGING OUT" + print("LOGGING OUT") # log user activity activity.user.logout(request)