mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-20 19:09:02 +00:00
perf: 修改支持 Django4
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
#
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.core.cache import cache
|
||||
from django.shortcuts import redirect, reverse
|
||||
from django.utils.translation import gettext as _
|
||||
from django.views.generic.base import TemplateView
|
||||
from django.utils.translation import ugettext as _
|
||||
|
||||
from common.utils import get_logger, FlashMessageUtil
|
||||
from orgs.utils import tmp_to_root_org
|
||||
from tickets.const import TicketType
|
||||
from tickets.errors import AlreadyClosed
|
||||
@@ -14,7 +16,6 @@ from tickets.models import (
|
||||
Ticket, ApplyAssetTicket,
|
||||
ApplyLoginTicket, ApplyLoginAssetTicket, ApplyCommandTicket
|
||||
)
|
||||
from common.utils import get_logger, FlashMessageUtil
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
|
Reference in New Issue
Block a user