mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 17:01:09 +00:00
perf: country code api (#13672)
* perf: remove notification migrations * perf: country code api --------- Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
@@ -3,7 +3,7 @@ from rest_framework import generics
|
||||
from rest_framework.permissions import AllowAny
|
||||
|
||||
from authentication.permissions import IsValidUserOrConnectionToken
|
||||
from common.const.choices import COUNTRY_CALLING_CODES, Language
|
||||
from common.const.choices import Language
|
||||
from common.utils import get_logger, lazyproperty
|
||||
from common.utils.timezone import local_now
|
||||
from .. import serializers
|
||||
@@ -26,7 +26,6 @@ class OpenPublicSettingApi(generics.RetrieveAPIView):
|
||||
return {
|
||||
"XPACK_ENABLED": settings.XPACK_ENABLED,
|
||||
"INTERFACE": self.interface_setting,
|
||||
"COUNTRY_CALLING_CODES": COUNTRY_CALLING_CODES,
|
||||
"LANGUAGES": [
|
||||
{
|
||||
'name': title,
|
||||
|
Reference in New Issue
Block a user