diff options
author | Alban Gruin | 2017-09-24 17:16:10 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-24 17:16:10 +0200 |
commit | e30b0c673cae607175c5bae6df6e87d8b100bdf3 (patch) | |
tree | 2ffc269ad5e56ff93e2ecd3bded5843a585c4fe7 /admin.py | |
parent | 77748ec01d1ef59d8436597a9b52675b309e1c4d (diff) |
Suppression du modèle LastUpdate, utilisation du champ last_update à
la place.
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, Room, Course, Year +from .models import Timetable, Group, Room, Course, Year @admin.register(Year) @@ -32,12 +32,6 @@ class TimetableAdmin(admin.ModelAdmin): ordering = ("year", "name",) -@admin.register(LastUpdate) -class LastUpdateAdmin(admin.ModelAdmin): - list_display = ("timetable", "week", "year", "date", "updated_at",) - list_filter = ("timetable__name",) - - @admin.register(Group) class GroupAdmin(admin.ModelAdmin): fieldsets = ( |