diff --git a/app/admin.py b/app/admin.py index 9443333..5de7556 100644 --- a/app/admin.py +++ b/app/admin.py @@ -173,8 +173,8 @@ class PeopleRangeAdmin(admin.ModelAdmin): class PeopleResourceAdmin(admin.ModelAdmin): fields = ('person', 'resource', 'p_r_role') - list_display = ['person__full_name', 'resource__resource', 'role__role'] - search_fields = ['person', 'resource', 'role'] + list_display = ['person', 'resource', 'role'] + search_fields = ['person__full_name', 'resource', 'role'] class SpeciesRangeAdmin(admin.ModelAdmin):