[UPDT] REPORT: Replaced the custom login_required and permission_required in report module views python file

This commit is contained in:
Horilla
2025-09-09 15:59:20 +05:30
parent 402bc547c6
commit 08b0a18419
7 changed files with 7 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ from django.shortcuts import render
if apps.is_installed("leave"):
from base.models import Company
from horilla_views.cbv_methods import login_required, permission_required
from horilla.decorators import login_required, permission_required
from leave.filters import AssignedLeaveFilter, LeaveRequestFilter
from leave.models import AvailableLeave, LeaveRequest