monitor drflog view_method字段增加

This commit is contained in:
caoqianming 2023-03-02 23:30:51 +08:00
parent e7af79a51a
commit 3c3bb556db
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.12 on 2023-03-02 15:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('monitor', '0002_drfrequestlog_user'),
]
operations = [
migrations.AlterField(
model_name='drfrequestlog',
name='view_method',
field=models.CharField(blank=True, db_index=True, max_length=50, null=True),
),
]

View File

@ -29,7 +29,7 @@ class DrfRequestLog(BaseModel):
help_text="执行视图",
)
view_method = models.CharField(
max_length=20,
max_length=50,
null=True,
blank=True,
db_index=True,