Promene u dizajnu dokumenata, controla, residual graph, residual tabele...
This commit is contained in:
@@ -157,8 +157,9 @@ class Risk(models.Model):
|
||||
|
||||
class Control(models.Model):
|
||||
id = models.AutoField(primary_key=True)
|
||||
safeguard_id = models.CharField(max_length=10, unique=True, null=True, help_text="Unique identifier for the safeguard (e.g. '1.1', '4.6')")
|
||||
name = models.CharField(max_length=255)
|
||||
|
||||
description = models.TextField(default=" ", help_text="Description of the control")
|
||||
def __str__(self):
|
||||
return f"{self.id} ({self.name})"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user