From 5a412fde1c7e8b5fd0abe1a22cdb874465051804 Mon Sep 17 00:00:00 2001 From: Seyed Alireza Hashemi Date: Wed, 1 Jan 2025 19:08:43 +0330 Subject: [PATCH] fix: fix a typo --- apps/fsm/views/fsm_view.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/fsm/views/fsm_view.py b/apps/fsm/views/fsm_view.py index 110c22f1..215830c4 100644 --- a/apps/fsm/views/fsm_view.py +++ b/apps/fsm/views/fsm_view.py @@ -80,13 +80,15 @@ def enter_fsm(self, request, pk=None): if fsm.participant_limit > 0 and not is_mentor: if user.is_anonymous: raise PermissionDenied( - "You must be logged in to submit this form.") + "You must be logged in to enter this fsm." + ) else: count = get_players(user, fsm).filter( finished_at__isnull=False).count() if count >= fsm.participant_limit: raise PermissionDenied( - "You have exceeded the submission limit for this form.") + "You have exceeded the submission limit for this fsm." + ) if fsm.is_public: if isinstance(user, AnonymousUser):