More fixes list_display
This commit is contained in:
parent
2f20672d40
commit
c14cdb06ed
1 changed files with 2 additions and 2 deletions
|
@ -173,8 +173,8 @@ class PeopleRangeAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
class PeopleResourceAdmin(admin.ModelAdmin):
|
class PeopleResourceAdmin(admin.ModelAdmin):
|
||||||
fields = ('person', 'resource', 'p_r_role')
|
fields = ('person', 'resource', 'p_r_role')
|
||||||
list_display = ['person__full_name', 'resource__resource', 'role__role']
|
list_display = ['person', 'resource', 'role']
|
||||||
search_fields = ['person', 'resource', 'role']
|
search_fields = ['person__full_name', 'resource', 'role']
|
||||||
|
|
||||||
|
|
||||||
class SpeciesRangeAdmin(admin.ModelAdmin):
|
class SpeciesRangeAdmin(admin.ModelAdmin):
|
||||||
|
|
Loading…
Reference in a new issue