messages fixed
This commit is contained in:
parent
e16872effe
commit
e5d9d61211
@ -45,7 +45,7 @@ class LocationDataAdmin(admin.ModelAdmin):
|
|||||||
return my_urls + urls
|
return my_urls + urls
|
||||||
|
|
||||||
def process_locationdata(self, request):
|
def process_locationdata(self, request):
|
||||||
messages.success(request, '2739847239847298374982374 Items prozessiert.')
|
messages.success(request, 'Items processed.')
|
||||||
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')
|
||||||
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