Show More
@@ -53,7 +53,8 b' class AdminController(BaseController):' | |||
|
53 | 53 | ) |
|
54 | 54 | if c.admin_user: |
|
55 | 55 | sa = meta.Session |
|
56 |
c.users_log = sa.query(UserLogs) |
|
|
56 | c.users_log = sa.query(UserLogs)\ | |
|
57 | .order_by(UserLogs.action_date.desc()).limit(10).all() | |
|
57 | 58 | return render('/admin.html') |
|
58 | 59 | |
|
59 | 60 | def hgrc(self, dirname): |
General Comments 0
You need to be logged in to leave comments.
Login now