Make the webinterface ready for 2022 #1

Открыто
seba хочет влить 9 коммит(ов) из cleanup-and-fixes-2022 в master
1 изменённых файлов: 1 добавлений и 1 удалений
Показать только изменения коммита 1f39cc5b40 - Показать все коммиты

Просмотреть файл

@ -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()})