mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
apply ruff rule DJ012
This commit is contained in:
1 parent
d10393ea37
commit
bba5339407
7 files changed
+35
-40
No files matched your search
+1
-4
@@ -479,10 +479,7 @@ class TrombiCommentFormView(LoginRequiredMixin, View):
|
||||
)
|
||||
if self.trombi.comments_deadline < date.today():
|
||||
raise Http404(
|
||||
_(
|
||||
"You can not write comment anymore, the deadline is "
|
||||
"already passed."
|
||||
)
|
||||
_("You can not write comment anymore, the deadline is already passed.")
|
||||
)
|
||||
return modelform_factory(
|
||||
self.model,
|
||||
|
||||
Reference in new issue
Block a user