from django.contrib import admin
from models import Group, Schedule, Deadline


class GroupAdmin(admin.ModelAdmin):
    search_fields = ('name', 'admin')
    list_display = ('name', 'admin', 'members')

class ScheduleAdmin(admin.ModelAdmin):
    search_fields = ('group', 'book')
    list_display = ('group', 'book')

class DeadlineAdmin(admin.ModelAdmin):
    search_fields = ('schedule', 'end_time')
    list_display = ('group', 'from_page', 'to_page', 'end_time')


admin.site.register(Group, GroupAdmin)
admin.site.register(Schedule, ScheduleAdmin)
admin.site.register(Deadline, DeadlineAdmin)
@@ -72,17 +72,16 @@
 adline%0A%0A
-%0A
 class Gr
@@ -185,19 +185,8 @@
 min'
-, 'members'
 )%0A%0Ac
@@ -400,29 +400,32 @@
 display = ('
-group
+schedule
 ', 'from_pag

Change in Group Admin