2
0
Fork 0

add team member admin page

This commit is contained in:
Florian Sorg 2023-05-06 22:50:26 +02:00
parent d9e7a42260
commit ff3e489e22
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
from django.contrib import admin from django.contrib import admin
from .models import TeamMember
# Register your models here. # Register your models here.
@admin.register(TeamMember)
class TeamMemberAdmin(admin.ModelAdmin):
fields = ["name"]
list_display = ["name"]