Skip to content

Commit

Permalink
Rename check to condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristgit committed Aug 30, 2024
1 parent 11a40cc commit 9ca4dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydis_site/apps/api/models/bot/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ class Meta:
),
models.CheckConstraint(
name="%(app_label)s_%(class)s_prevent_alt_to_self",
check=~models.Q(source=models.F("target")),
condition=~models.Q(source=models.F("target")),
),
]

0 comments on commit 9ca4dd2

Please sign in to comment.