mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-09 03:09:34 +00:00
perf: 优化账号创建 (#11440)
* feat: 支持账号模版自动推送 * perf: 修改模版 * perf: 优化账号创建 --------- Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
from django.utils import translation
|
||||
from django.utils.translation import gettext_noop
|
||||
from django.contrib.auth.mixins import UserPassesTestMixin
|
||||
from django.http.response import JsonResponse
|
||||
from django.utils import translation
|
||||
from django.utils.translation import gettext_noop
|
||||
from rest_framework import permissions
|
||||
from rest_framework.request import Request
|
||||
|
||||
from audits.const import ActionChoices, ActivityChoices
|
||||
from audits.handler import create_or_update_operate_log
|
||||
from audits.models import ActivityLog
|
||||
from common.exceptions import UserConfirmRequired
|
||||
from common.utils import i18n_fmt
|
||||
from orgs.utils import current_org
|
||||
from audits.handler import create_or_update_operate_log
|
||||
from audits.const import ActionChoices, ActivityChoices
|
||||
from audits.models import ActivityLog
|
||||
|
||||
__all__ = [
|
||||
"PermissionsMixin",
|
||||
|
Reference in New Issue
Block a user