converted to python 3,

fixed warnings for django 1.10
This commit is contained in:
ajurna@gmail.com
2016-03-30 10:23:04 +01:00
parent af1ba13d86
commit 267a2d410c
6 changed files with 29 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ def comic_login(request):
if user is not None:
if user.is_active:
login(request, user)
if request.GET.has_key('next'):
if 'next' in request.GET:
return redirect(request.GET['next'])
else:
return redirect('/comic/')