cube-studio/myapp/views/log/__init__.py

14 lines
329 B
Python

class LogMixin:
label_title='日志'
list_columns = ("user", "action", "dttm")
edit_columns = ("user", "action", "dttm", "json")
base_order = ("dttm", "desc")
# label_columns = {
# "user": _("User"),
# "action": _("Action"),
# "dttm": _("dttm"),
# "json": _("JSON"),
# }