From 808733d8549afe5d506a50b5e41e95ce02a492ec Mon Sep 17 00:00:00 2001 From: kovacspe Date: Sat, 18 May 2024 12:10:37 +0200 Subject: [PATCH] Add registration link admin --- competition/admin.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/competition/admin.py b/competition/admin.py index 2a0451f1..3151a58d 100644 --- a/competition/admin.py +++ b/competition/admin.py @@ -3,7 +3,8 @@ from competition.models import (Comment, Competition, Event, EventRegistration, LateTag, Problem, ProblemCorrection, - Publication, Semester, Series, Solution) + Publication, RegistrationLink, Semester, + Series, Solution) @admin.register(Competition) @@ -187,6 +188,15 @@ class EventRegistrationAdmin(admin.ModelAdmin): ) +@admin.register(RegistrationLink) +class RegistrationLinkAdmin(admin.ModelAdmin): + list_display = ( + 'event', + 'start', + 'end' + ) + + @admin.register(ProblemCorrection) class ProblemCorrectionAdmin(admin.ModelAdmin): list_display = (