update admin add list_filter
This commit is contained in:
parent
c48e80fb09
commit
775104717b
@ -58,6 +58,7 @@ class LocationDataAdmin(admin.ModelAdmin):
|
|||||||
return redirect('admin:billard_locationdata_changelist')
|
return redirect('admin:billard_locationdata_changelist')
|
||||||
|
|
||||||
list_display = ('client_id', 'desk_no', 'tst', 'on_off', 'processed', 'error_msg')
|
list_display = ('client_id', 'desk_no', 'tst', 'on_off', 'processed', 'error_msg')
|
||||||
|
list_filter = ('client_id', 'desk_no', 'processed')
|
||||||
fields = ['client_id', 'desk_no', 'tst', 'on_off', 'processed', 'error_msg']
|
fields = ['client_id', 'desk_no', 'tst', 'on_off', 'processed', 'error_msg']
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user