Make the webinterface ready for 2022 #1

Open
seba wants to merge 9 commits from cleanup-and-fixes-2022 into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 1f39cc5b40 - Show all commits

View File

@ -17,7 +17,7 @@ from .forms import UpdateRefForm, QSOForm, QSOFormWithTime, CustomUserCreationFo
def index(request):
if request.user.is_authenticated():
if request.user.is_authenticated:
return HttpResponseRedirect(reverse("contest:index"))
return render(request, "index.html", {"loginForm": AuthenticationForm()})