摘要: 1:引入日志模块 from simple_history.admin import SimpleHistoryAdmin 2:admin类继承 SimpleHistoryAdmin 3:对应model添加字段历史记录字段 history = HistoricalRecords(excluded_fi 阅读全文
posted @ 2023-09-05 17:53 你看起来真的很好吃 阅读(51) 评论(0) 推荐(0) 编辑