Commit 127576c1 authored by Irish Danielle Morales's avatar Irish Danielle Morales

Merge branch 'morales/homepage'

parents f81f41d8 9f2f9375
...@@ -5,5 +5,7 @@ from .models import WidgetUser ...@@ -5,5 +5,7 @@ from .models import WidgetUser
class WidgetUserAdmin(admin.ModelAdmin): class WidgetUserAdmin(admin.ModelAdmin):
model = WidgetUser model = WidgetUser
search_fields = ['first_name', 'middle_name', 'last_name']
list_display = ('first_name', 'middle_name', 'last_name')
admin.site.register(WidgetUser, WidgetUserAdmin) 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