Hi Dirk, > Add fields to the admin change list pages of patchwork models, and add > filters and search boxes where appropriate.
Applied, with one change:
> class UserProfileAdmin(admin.ModelAdmin):
> - pass
> + search_fields = ('user__first_name', 'user__last_name')
I've added user__username to this list, as I often need to lookup by username
too.
Cheers,
Jeremy
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork
