Merge branch 'hotfix/0.2.17'
This commit is contained in:
commit
8c5aacd66f
1 changed files with 4 additions and 3 deletions
|
|
@ -40,12 +40,13 @@ def landingpage(request):
|
||||||
try:
|
try:
|
||||||
user = User.objects.get(username=check_nickname)
|
user = User.objects.get(username=check_nickname)
|
||||||
check_nickname = True
|
check_nickname = True
|
||||||
# output as text if requested
|
|
||||||
if request.GET.get('raw', ''):
|
|
||||||
return HttpResponse(check_nickname)
|
|
||||||
except:
|
except:
|
||||||
check_nickname = False
|
check_nickname = False
|
||||||
|
|
||||||
|
# output as text if requested
|
||||||
|
if request.GET.get('raw', ''):
|
||||||
|
return HttpResponse(check_nickname)
|
||||||
|
|
||||||
return render(request, 'base.html', locals())
|
return render(request, 'base.html', locals())
|
||||||
|
|
||||||
def auth_login(request):
|
def auth_login(request):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue