diff options
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -14,7 +14,7 @@ # along with celcatsanitizer. If not, see <http://www.gnu.org/licenses/>. from django.contrib import admin -from .models import Timetable, LastUpdate, Group, Subscription, Room, Course, Year +from .models import Timetable, LastUpdate, Group, Room, Course, Year @admin.register(Year) @@ -46,12 +46,6 @@ class GroupAdmin(admin.ModelAdmin): readonly_fields = ("celcat_name", "mention", "subgroup", "td", "tp",) -@admin.register(Subscription) -class SubscriptionAdmin(admin.ModelAdmin): - list_display = ("email", "group", "active",) - readonly_fields = ("token",) - - @admin.register(Room) class RoomAdmin(admin.ModelAdmin): pass |