Reihenfolge der Logs umgedreht

This commit is contained in:
holger.trampe 2021-01-08 10:33:38 +01:00
parent 23852ce7c8
commit 168d625e59
3 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ class AdmUserSingle(TemplateView):
logdata_logins = []
for ele in logdata:
for ele in reversed(logdata):
try:
datestring = json.loads(ele.changes)["last_login"][1]

BIN
dump.rdb

Binary file not shown.

View File

@ -649,7 +649,7 @@ def showUserLog(request, pk):
logdata_logins = []
for ele in logdata:
for ele in reversed(logdata):
try:
datestring = json.loads(ele.changes)["last_login"][1]
datestring = datestring.split(".")[0]