From 5fb8a3de8396854771543d2ef32f6cc2094bca11 Mon Sep 17 00:00:00 2001 From: Jaimyn Mayer Date: Wed, 15 Nov 2023 01:36:27 +1000 Subject: [PATCH] add memberbucks to admin --- memberportal/access/admin.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/memberportal/access/admin.py b/memberportal/access/admin.py index 0bb1f322..3f33ca8b 100644 --- a/memberportal/access/admin.py +++ b/memberportal/access/admin.py @@ -19,15 +19,26 @@ class DoorsAdmin(admin.ModelAdmin): @admin.register(DoorLog) -class ProfileAdmin(admin.ModelAdmin): +class DoorLogAdmin(admin.ModelAdmin): pass @admin.register(Interlock) -class DoorsAdmin(admin.ModelAdmin): +class InterlockAdmin(admin.ModelAdmin): pass @admin.register(InterlockLog) -class ProfileAdmin(admin.ModelAdmin): +class InterlockLogAdmin(admin.ModelAdmin): + pass + + +@admin.register(MemberbucksDevice) +class MemberbucksDeviceAdmin(admin.ModelAdmin): pass + + +# TODO: +# @admin.register(MemberbucksDeviceLog) +# class MemberbucksDeviceLogAdmin(admin.ModelAdmin): +# pass