mirror of https://github.com/jumpserver/jumpserver
jiangweidong
3 years ago
committed by
老广
9 changed files with 43 additions and 8 deletions
@ -0,0 +1,15 @@
|
||||
from rest_framework import serializers |
||||
from django.utils.translation import ugettext_lazy as _ |
||||
|
||||
from ..application_category import DBSerializer |
||||
|
||||
|
||||
__all__ = ['RedisSerializer'] |
||||
|
||||
|
||||
class RedisSerializer(DBSerializer): |
||||
port = serializers.IntegerField(default=6379, label=_('Port'), allow_null=True) |
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue