Import and Export CSV
This commit is contained in:
@@ -123,4 +123,18 @@ class Document(models.Model):
|
||||
)
|
||||
|
||||
|
||||
class Risk(models.Model):
|
||||
risk_id = models.IntegerField(unique=True)
|
||||
category = models.CharField(max_length=255)
|
||||
risk_name = models.CharField(max_length=255)
|
||||
primary_impact = models.TextField()
|
||||
secondary_impact = models.TextField()
|
||||
tretiary_impact = models.TextField()
|
||||
detection_difficulty = models.CharField(max_length=255)
|
||||
recovery_complexity = models.CharField(max_length=255)
|
||||
businnes_impact_severity = models.CharField(max_length=255)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.risk_id} - {self.risk_name}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user