mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
allow empty values -> submition from form
This commit is contained in:
parent
37f14f537a
commit
3af426bdd7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user