aboutsummaryrefslogtreecommitdiff
path: root/admin.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-09 14:56:17 +0200
committerAlban Gruin2017-09-09 14:56:17 +0200
commitc7fce37ad4c8dee76f5d58eafefd0c73a03ea00c (patch)
treef86af8322495101ce11e187f8145f8f4d9519236 /admin.py
parent9aaa19a62b36e1b0981233785e150f50449c78e3 (diff)
Suppression de l’envoi des mails
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 66da316..2fc0e78 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, 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