Skip to content
Snippets Groups Projects
Verified Commit 1c20030b authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix typo

parent c6d27c14
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ class ValidityRange(ExtensibleModel): ...@@ -105,7 +105,7 @@ class ValidityRange(ExtensibleModel):
qs = ValidityRange.objects.within_dates(self.date_start, self.date_end) qs = ValidityRange.objects.within_dates(self.date_start, self.date_end)
if self.pk: if self.pk:
qs.exclude(pk=self.pk) qs = qs.exclude(pk=self.pk)
if qs.exists(): if qs.exists():
raise ValidationError( raise ValidationError(
_( _(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment