Skip to content

Commit

Permalink
Add registration link admin
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed May 18, 2024
1 parent b5d75ec commit 808733d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion competition/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 = (
Expand Down

0 comments on commit 808733d

Please sign in to comment.