Make members searchable in admin
This commit is contained in:
parent
80c585111a
commit
954348192b
@ -18,4 +18,7 @@ from django.contrib import admin
|
||||
|
||||
from . import models
|
||||
|
||||
admin.site.register(models.Member)
|
||||
class MemberAdmin(admin.ModelAdmin):
|
||||
search_fields = ['email', 'first_name', 'last_name', 'student_id']
|
||||
|
||||
admin.site.register(models.Member, MemberAdmin)
|
||||
|
Loading…
Reference in New Issue
Block a user