forked from erp-dev/erp
feat: log formatted
This commit is contained in:
23
api_v1/migrations/0015_alter_apiauditlog_method_and_more.py
Normal file
23
api_v1/migrations/0015_alter_apiauditlog_method_and_more.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.8 on 2026-06-25 05:47
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api_v1', '0014_alter_printingexternalsyncfailure_created_at'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='apiauditlog',
|
||||
name='method',
|
||||
field=models.CharField(help_text='HTTP方法,如POST、PUT、PATCH', max_length=10, verbose_name='请求方法'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='apiauditlog',
|
||||
name='request_data',
|
||||
field=models.JSONField(default=dict, help_text='请求的body数据(JSON格式)', verbose_name='请求体数据'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user