Added 3 records, created search and list display to homepage

parent 10b71735
......@@ -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