Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-intuitem committed May 20, 2024
1 parent b0d5884 commit 84d8a81
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions backend/core/migrations/0013_requirementnode_typical_evidence.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@


class Migration(migrations.Migration):

dependencies = [
('core', '0012_alter_appliedcontrol_updated_at_and_more'),
("core", "0012_alter_appliedcontrol_updated_at_and_more"),
]

operations = [
migrations.AddField(
model_name='requirementnode',
name='typical_evidence',
field=models.TextField(blank=True, null=True, verbose_name='Typical evidence'),
model_name="requirementnode",
name="typical_evidence",
field=models.TextField(
blank=True, null=True, verbose_name="Typical evidence"
),
),
]
5 changes: 3 additions & 2 deletions backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,9 @@ class RequirementNode(ReferentialObjectMixin):
null=True, verbose_name=_("Implementation groups")
)
assessable = models.BooleanField(null=False, verbose_name=_("Assessable"))
typical_evidence = models.TextField(null=True, blank=True, verbose_name=_("Typical evidence"))

typical_evidence = models.TextField(
null=True, blank=True, verbose_name=_("Typical evidence")
)

class Meta:
verbose_name = _("RequirementNode")
Expand Down

0 comments on commit 84d8a81

Please sign in to comment.