From 6abf9cd8dba351f6d4bf16476530255ff8a8677d Mon Sep 17 00:00:00 2001 From: Michal Masrna Date: Fri, 31 May 2024 12:04:04 +0200 Subject: [PATCH] temporary fix to disable public results --- competition/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/competition/urls.py b/competition/urls.py index d865277..370d375 100644 --- a/competition/urls.py +++ b/competition/urls.py @@ -22,9 +22,9 @@ path('/results/', nonstaff_redirect_to_public_results(ResultsView.as_view()), name='results'), path('priebezne-vysledky', - LatestPublicResultsView.as_view(), name='public-results-latest'), + nonstaff_redirect_to_public_results(LatestPublicResultsView.as_view()), name='public-results-latest'), path('/priebezne-vysledky', - PublicResultsView.as_view(), name='public-results'), + nonstaff_redirect_to_public_results(PublicResultsView.as_view()), name='public-results'), path('/csvresults/', nonstaff_redirect_to_public_results(CSVResultsView.as_view()), name='csv_results'), path('/statistics/',