fix adminview
This commit is contained in:
parent
aca77949b0
commit
99ecd5efc3
@ -20,7 +20,6 @@ class TableAdmin(admin.ModelAdmin):
|
|||||||
|
|
||||||
@admin.register(LocationData)
|
@admin.register(LocationData)
|
||||||
class LocationDataAdmin(admin.ModelAdmin):
|
class LocationDataAdmin(admin.ModelAdmin):
|
||||||
list_display = ('location_id', 'table_no', 'tst', 'on_off',)
|
list_display = ('location_id', 'table_no', 'tst', 'on_off', 'processed', 'error_msg')
|
||||||
fields = ['location_id', 'table_no', 'tst', 'on_off',]
|
fields = ['location_id', 'table_no', 'tst', 'on_off', 'processed', 'error_msg']
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user