mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-22 23:13:46 +00:00
Better naming
This commit is contained in:
parent
17704fce9c
commit
6c476f080e
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ def history(request, application, object_name, object_id):
|
|||
'users:profil',
|
||||
kwargs={'userid': str(request.user.id)}
|
||||
))
|
||||
can, msg, _extra_msg = instance.can_view(request.user)
|
||||
can, msg, _permissions = instance.can_view(request.user)
|
||||
if not can:
|
||||
messages.error(request, msg or _("You don't have the right to access this menu."))
|
||||
return redirect(reverse(
|
||||
|
|
Loading…
Reference in a new issue