fix: revert allowing an empty user to notify

This commit is contained in:
2025-07-11 17:51:39 +02:00
parent d53c5707b8
commit 4b3286f12d
2 changed files with 1 additions and 2 deletions

View File

@@ -927,7 +927,6 @@ class Notification(models.Model):
text = models.TextField(verbose_name="Inhalt")
user_to_notify = models.ForeignKey(User,
on_delete=models.CASCADE,
blank=True, null=True,
verbose_name=_('Nutzer*in'),
help_text=_("Useraccount der Benachrichtigt wird"),
related_name='user')