Merge "Disallow creation of product version with empty version name."
This commit is contained in:
commit
c67ec09349
@ -250,3 +250,6 @@ class ProductVersionValidator(BaseValidator):
|
||||
def validate(self, request):
|
||||
"""Validate product version data."""
|
||||
super(ProductVersionValidator, self).validate(request)
|
||||
body = json.loads(request.body)
|
||||
|
||||
self.check_emptyness(body, ['version'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user