Added order column to admin grid
This commit is contained in:
parent
3c5b64db0b
commit
2cce096748
@ -9,7 +9,7 @@ admin.site.register(Position)
|
||||
|
||||
@admin.register(Attorney)
|
||||
class MemberAdmin(admin.ModelAdmin):
|
||||
list_display = ['name', 'position', 'chapter', 'phone_formatted', 'email', 'front_page', 'joined', 'thumbnail']
|
||||
list_display = ['name', 'position', 'chapter', 'phone_formatted', 'email', 'front_page', 'order', 'joined', 'thumbnail']
|
||||
list_filter = ['chapter', 'position', 'front_page', 'joined']
|
||||
search_fields = ['email', 'joined', 'name', 'chapter', 'position', 'website', 'phone', 'phone_formatted']
|
||||
fields = ['image_preview', 'image', 'name', 'position', 'chapter', 'biography', 'phone', 'email', 'website', 'front_page', 'order', 'joined']
|
||||
|
Loading…
Reference in New Issue
Block a user