Skip to content

Commit

Permalink
Remove Semester Model admin
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuGenuine committed Jan 16, 2025
1 parent fa8cac5 commit 940f820
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions semester/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,3 @@

from semester.models import Semester, SemesterType


@admin.register(Semester)
class SemesterAdmin(admin.ModelAdmin):
list_display = ['year', 'type', 'start_date', 'end_date']
list_filter = ['year', 'type']


@admin.register(SemesterType)
class SemesterTypeAdmin(admin.ModelAdmin):
pass

0 comments on commit 940f820

Please sign in to comment.