add team member admin page
This commit is contained in:
parent
d9e7a42260
commit
ff3e489e22
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue