monitor drflog view_method字段增加
This commit is contained in:
parent
e7af79a51a
commit
3c3bb556db
|
@ -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),
|
||||||
|
),
|
||||||
|
]
|
|
@ -29,7 +29,7 @@ class DrfRequestLog(BaseModel):
|
||||||
help_text="执行视图",
|
help_text="执行视图",
|
||||||
)
|
)
|
||||||
view_method = models.CharField(
|
view_method = models.CharField(
|
||||||
max_length=20,
|
max_length=50,
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
db_index=True,
|
db_index=True,
|
||||||
|
|
Loading…
Reference in New Issue