From 99ecd5efc354a1d6fc1285bc84b849dcebb8cf9b Mon Sep 17 00:00:00 2001 From: Robert Einsle Date: Mon, 9 Jan 2017 18:40:48 +0100 Subject: [PATCH] fix adminview --- billard/admin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/billard/admin.py b/billard/admin.py index 110dfae..03e9bdd 100644 --- a/billard/admin.py +++ b/billard/admin.py @@ -20,7 +20,6 @@ class TableAdmin(admin.ModelAdmin): @admin.register(LocationData) class LocationDataAdmin(admin.ModelAdmin): - list_display = ('location_id', 'table_no', 'tst', 'on_off',) - fields = ['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', 'processed', 'error_msg'] pass -