[UPDT] Pylint updates
This commit is contained in:
@@ -3,14 +3,15 @@ outlook_auth/cbv.py
|
||||
|
||||
"""
|
||||
|
||||
from django.http import HttpResponse
|
||||
from django.contrib import messages
|
||||
from django.http import HttpResponse
|
||||
from django.urls import reverse_lazy
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.utils.decorators import method_decorator
|
||||
from horilla_views.generic.cbv import views
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from horilla_views.cbv_methods import login_required, permission_required
|
||||
from outlook_auth import models, filters, forms
|
||||
from horilla_views.generic.cbv import views
|
||||
from outlook_auth import filters, forms, models
|
||||
|
||||
|
||||
@method_decorator(login_required, name="dispatch")
|
||||
@@ -69,6 +70,7 @@ class ServerList(views.HorillaListView):
|
||||
""",
|
||||
}
|
||||
|
||||
|
||||
@method_decorator(login_required, name="dispatch")
|
||||
@method_decorator(
|
||||
permission_required(perm="outlook_auth.add_azureapi"), name="dispatch"
|
||||
|
||||
Reference in New Issue
Block a user