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