Skip to content

Commit

Permalink
Fix typo raised by translator
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Aug 30, 2023
1 parent 2b2fc15 commit 5951c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def decorator(request, *args, **kwargs):
page_url = kwargs.get("page_url")

if not page_url:
raise ValueError(_('"page_url" slug must be present to user this decorator.'))
raise ValueError(_('"page_url" slug must be present to use this decorator.'))

if not request.user.is_authenticated:
return redirect("core:event", page_url)
Expand Down

0 comments on commit 5951c5a

Please sign in to comment.