Skip to content

Commit 99c5269

Browse files
stephhouCopilot
andauthored
Update lung_cancer_screening/questions/models/incentivised.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Steph Housden <167300771+stephhou@users.noreply.github.com>
1 parent ed42261 commit 99c5269

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lung_cancer_screening/questions/models/incentivised.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ class Incentivised(BaseModel):
1111

1212
incentivised_at = models.DateTimeField(auto_now_add=True)
1313

14-
class Meta:
15-
constraints = [
16-
models.UniqueConstraint(
17-
fields=["user"],
18-
name="unique_incentive_per_user",
19-
)
20-
]
14+
class Meta:
15+
constraints = [
16+
models.UniqueConstraint(
17+
fields=["user"],
18+
name="unique_incentive_per_user",
19+
)
20+
]

0 commit comments

Comments
 (0)