From ff3e489e22b175a32a781efcb5dd05bbc783af1a Mon Sep 17 00:00:00 2001 From: Florian Sorg Date: Sat, 6 May 2023 22:50:26 +0200 Subject: [PATCH] add team member admin page --- shiftregister/fallback/admin.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/shiftregister/fallback/admin.py b/shiftregister/fallback/admin.py index 8c38f3f..32ed3e2 100644 --- a/shiftregister/fallback/admin.py +++ b/shiftregister/fallback/admin.py @@ -1,3 +1,10 @@ from django.contrib import admin +from .models import TeamMember + # Register your models here. + +@admin.register(TeamMember) +class TeamMemberAdmin(admin.ModelAdmin): + fields = ["name"] + list_display = ["name"]