Added search and list display to homepage

parent 40228ed7
......@@ -5,5 +5,7 @@ from .models import WidgetUser
class WidgetUserAdmin(admin.ModelAdmin):
model = WidgetUser
search_fields = ['first_name', 'middle_name', 'last_name']
list_display = ('first_name', 'middle_name', 'last_name')
admin.site.register(WidgetUser, WidgetUserAdmin)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment