From 3eb5edefd2245bf5f46a618d9ee056e7bac4ca75 Mon Sep 17 00:00:00 2001 From: detraz Date: Sat, 1 Dec 2018 12:23:31 +0100 Subject: [PATCH] Fix login required pour historique --- logs/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/logs/views.py b/logs/views.py index a54edd56..06275b38 100644 --- a/logs/views.py +++ b/logs/views.py @@ -104,8 +104,8 @@ from re2o.utils import ( all_adherent, all_active_assigned_interfaces_count, all_active_interfaces_count, -) -from re2o.base import ( +) +from re2o.base import ( re2o_paginator, SortTable ) @@ -478,7 +478,7 @@ def stats_actions(request): } return render(request, 'logs/stats_users.html', {'stats_list': stats}) - +@login_required def history(request, application, object_name, object_id): """Render history for a model.