Skip to content

Commit 841498e

Browse files
authored
Merge pull request #78 from HXSecurity/Bidaya0-patch-fix-project-default-value
Update project.py
2 parents 3b08080 + c1cb927 commit 841498e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dongtai/models/project.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ class IastProject(models.Model):
3737
blank=True,
3838
null=False,
3939
choices=VulValidation.choices)
40-
base_url = models.CharField(max_length=255, blank=True, null=True)
40+
base_url = models.CharField(max_length=255, blank=True, default='')
4141
test_req_header_key = models.CharField(max_length=511,
4242
blank=True,
43-
null=True)
43+
default='')
4444
test_req_header_value = models.CharField(max_length=511,
4545
blank=True,
46-
null=True)
46+
default='')
4747

4848
class Meta:
4949
managed = get_managed()

0 commit comments

Comments
 (0)