aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-24 17:16:10 +0200
committerAlban Gruin2017-09-24 17:16:10 +0200
commite30b0c673cae607175c5bae6df6e87d8b100bdf3 (patch)
tree2ffc269ad5e56ff93e2ecd3bded5843a585c4fe7 /admin.py
parent77748ec01d1ef59d8436597a9b52675b309e1c4d (diff)
Suppression du modèle LastUpdate, utilisation du champ last_update à
la place.
Diffstat (limited to 'admin.py')
-rw-r--r--admin.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/admin.py b/admin.py
index 4a238be..8a409e3 100644
--- a/admin.py
+++ b/admin.py
@@ -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 = (