mirror of https://github.com/jumpserver/jumpserver
perf: 修改去掉 debug
parent
7d111b6efb
commit
2a183e34ac
|
@ -1,6 +1,5 @@
|
|||
from django.db.models import QuerySet
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from rest_framework import serializers
|
||||
|
||||
from assets.models import Custom, Platform, Asset
|
||||
from common.const import UUID_PATTERN
|
||||
|
@ -11,10 +10,6 @@ from .common import AssetSerializer
|
|||
__all__ = ['CustomSerializer']
|
||||
|
||||
|
||||
class CustomInfoSerializer(serializers.Serializer):
|
||||
name = serializers.CharField(required=False)
|
||||
|
||||
|
||||
class CustomSerializer(AssetSerializer):
|
||||
custom_info = MethodSerializer(label=_('Custom info'), required=False, allow_null=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue