allow empty values -> submition from form

This commit is contained in:
Matthias 2021-11-18 16:17:47 +01:00
parent 37f14f537a
commit 3af426bdd7
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -40,8 +40,8 @@ class PluginConfigInstallSerializer(serializers.Serializer):
Serializer for installing a new plugin Serializer for installing a new plugin
""" """
url = serializers.CharField(required=False) url = serializers.CharField(required=False, allow_blank=True)
packagename = serializers.CharField(required=False) packagename = serializers.CharField(required=False, allow_blank=True)
confirm = serializers.BooleanField() confirm = serializers.BooleanField()
class Meta: class Meta: