diff options
author | Alban Gruin | 2017-09-09 14:56:17 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-09 14:56:17 +0200 |
commit | c7fce37ad4c8dee76f5d58eafefd0c73a03ea00c (patch) | |
tree | f86af8322495101ce11e187f8145f8f4d9519236 /admin.py | |
parent | 9aaa19a62b36e1b0981233785e150f50449c78e3 (diff) |
Suppression de l’envoi des mails
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 |