Skip to content

Commit

Permalink
Competition should not be nullable (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe authored Apr 13, 2024
1 parent 8efb2ae commit 7498f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competition/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Meta:
]

competition = models.ForeignKey(
Competition, null=True, on_delete=models.CASCADE)
Competition, on_delete=models.CASCADE)

year = models.PositiveSmallIntegerField(verbose_name='ročník', blank=True)
school_year = models.CharField(
Expand Down

0 comments on commit 7498f1b

Please sign in to comment.