8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Fix login required pour historique

This commit is contained in:
detraz 2018-12-01 12:23:31 +01:00 committed by root
parent 94f8e21a81
commit 3eb5edefd2

View file

@ -104,8 +104,8 @@ from re2o.utils import (
all_adherent, all_adherent,
all_active_assigned_interfaces_count, all_active_assigned_interfaces_count,
all_active_interfaces_count, all_active_interfaces_count,
) )
from re2o.base import ( from re2o.base import (
re2o_paginator, re2o_paginator,
SortTable SortTable
) )
@ -478,7 +478,7 @@ def stats_actions(request):
} }
return render(request, 'logs/stats_users.html', {'stats_list': stats}) return render(request, 'logs/stats_users.html', {'stats_list': stats})
@login_required
def history(request, application, object_name, object_id): def history(request, application, object_name, object_id):
"""Render history for a model. """Render history for a model.