mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
converted to python 3,
fixed warnings for django 1.10
This commit is contained in:
@@ -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/')
|
||||
|
||||
Reference in New Issue
Block a user