From c1cb927fcd16889d7aca37d2321148ef97c85a20 Mon Sep 17 00:00:00 2001 From: Bidaya0 Date: Fri, 14 Jan 2022 15:10:22 +0800 Subject: [PATCH] Update project.py --- dongtai/models/project.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dongtai/models/project.py b/dongtai/models/project.py index b141579..88cf83a 100644 --- a/dongtai/models/project.py +++ b/dongtai/models/project.py @@ -37,13 +37,13 @@ class IastProject(models.Model): blank=True, null=False, choices=VulValidation.choices) - base_url = models.CharField(max_length=255, blank=True, null=True) + base_url = models.CharField(max_length=255, blank=True, default='') test_req_header_key = models.CharField(max_length=511, blank=True, - null=True) + default='') test_req_header_value = models.CharField(max_length=511, blank=True, - null=True) + default='') class Meta: managed = get_managed()