Skip to content

Commit

Permalink
fixed projects institution validation
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-gray-tangent committed Jun 11, 2024
1 parent e50c147 commit 9063aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/general/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Project(models.Model):
start_date = models.DateField(blank=True, null=True, verbose_name=_("start date"))
end_date = models.DateField(blank=True, null=True, verbose_name=_("end date"))
institution = models.ForeignKey(
"Institution", on_delete=models.CASCADE, blank=True, verbose_name=_("institution")
"Institution", on_delete=models.CASCADE, blank=False, verbose_name=_("institution")
)
subjects = models.ManyToManyField("Subject", blank=True, verbose_name=_("subjects"))
languages = models.ManyToManyField("Language", blank=True, verbose_name=_("languages"))
Expand Down

0 comments on commit 9063aa3

Please sign in to comment.