Make the webinterface ready for 2022 #1
|
@ -17,7 +17,7 @@ from .forms import UpdateRefForm, QSOForm, QSOFormWithTime, CustomUserCreationFo
|
||||||
|
|
||||||
|
|
||||||
def index(request):
|
def index(request):
|
||||||
if request.user.is_authenticated():
|
if request.user.is_authenticated:
|
||||||
return HttpResponseRedirect(reverse("contest:index"))
|
return HttpResponseRedirect(reverse("contest:index"))
|
||||||
|
|
||||||
return render(request, "index.html", {"loginForm": AuthenticationForm()})
|
return render(request, "index.html", {"loginForm": AuthenticationForm()})
|
||||||
|
|
Loading…
Reference in New Issue