jumpserver/apps/common/const/__init__.py

15 lines
493 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
#
2018-04-02 05:19:31 +00:00
from django.utils.translation import ugettext_lazy as _
create_success_msg = _("%(name)s was created successfully")
update_success_msg = _("%(name)s was updated successfully")
2018-04-01 15:45:37 +00:00
FILE_END_GUARD = ">>> Content End <<<"
2018-04-02 05:19:31 +00:00
celery_task_pre_key = "CELERY_"
KEY_CACHE_RESOURCE_IDS = "RESOURCE_IDS_{}"
# AD User AccountDisable
# https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/useraccountcontrol-manipulate-account-properties
LDAP_AD_ACCOUNT_DISABLE = 2