Implement AI workspace and mitigation workflow
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||
|
||||
from mixins.views import (
|
||||
ObjectCreate,
|
||||
ObjectDelete,
|
||||
ObjectList,
|
||||
ObjectUpdate,
|
||||
)
|
||||
from mixins.views import ObjectCreate, ObjectDelete, ObjectList, ObjectUpdate
|
||||
|
||||
from core.forms import GroupForm
|
||||
from core.models import Group
|
||||
@@ -13,6 +7,7 @@ from core.util import logs
|
||||
|
||||
log = logs.get_logger(__name__)
|
||||
|
||||
|
||||
class GroupList(LoginRequiredMixin, ObjectList):
|
||||
list_template = "partials/group-list.html"
|
||||
model = Group
|
||||
@@ -39,4 +34,4 @@ class GroupUpdate(LoginRequiredMixin, ObjectUpdate):
|
||||
|
||||
|
||||
class GroupDelete(LoginRequiredMixin, ObjectDelete):
|
||||
model = Group
|
||||
model = Group
|
||||
|
||||
Reference in New Issue
Block a user