Add list_display to OrganizationAdmin
This commit is contained in:
parent
f4b2cbfe79
commit
0c67407b21
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ class RangeAdmin(admin.ModelAdmin):
|
||||||
class OrganizationAdmin(admin.ModelAdmin):
|
class OrganizationAdmin(admin.ModelAdmin):
|
||||||
readonly_fields = ('org_num1',)
|
readonly_fields = ('org_num1',)
|
||||||
search_fields = ['organisation_search', 'org_alpha_search', 'organisation_2', 'organisation_3', 'subject']
|
search_fields = ['organisation_search', 'org_alpha_search', 'organisation_2', 'organisation_3', 'subject']
|
||||||
|
list_display = ['organisation_english', 'country__formal_name', 'city']
|
||||||
fieldsets = (
|
fieldsets = (
|
||||||
(None, {
|
(None, {
|
||||||
'fields': (
|
'fields': (
|
||||||
|
|
Loading…
Reference in a new issue