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 SessionForm
|
||||
from core.models import ChatSession
|
||||
@@ -13,11 +7,12 @@ from core.util import logs
|
||||
|
||||
log = logs.get_logger(__name__)
|
||||
|
||||
|
||||
class SessionList(LoginRequiredMixin, ObjectList):
|
||||
list_template = "partials/session-list.html"
|
||||
model = ChatSession
|
||||
page_title = "Chat Sessions"
|
||||
#page_subtitle = "Add times here in order to permit trading."
|
||||
# page_subtitle = "Add times here in order to permit trading."
|
||||
|
||||
list_url_name = "sessions"
|
||||
list_url_args = ["type"]
|
||||
@@ -41,4 +36,3 @@ class SessionUpdate(LoginRequiredMixin, ObjectUpdate):
|
||||
|
||||
class SessionDelete(LoginRequiredMixin, ObjectDelete):
|
||||
model = ChatSession
|
||||
|
||||
|
||||
Reference in New Issue
Block a user