Add package check for package name length
Now upload and modify package, do not check the name length, but the package name in db models name length is 80, So we should check the package name length. Change-Id: I6c851780e72d81df31be55ef02cb8beb4b0fcf55 Closes-bug: #1535522
This commit is contained in:
parent
080c1180b9
commit
9dafb2875f
@ -159,7 +159,9 @@ class ImportPackageForm(forms.Form):
|
||||
|
||||
|
||||
class PackageParamsMixin(forms.Form):
|
||||
name = forms.CharField(label=_('Name'))
|
||||
name = forms.CharField(label=_('Name'),
|
||||
max_length=80,
|
||||
help_text='80 characters max.')
|
||||
tags = forms.CharField(label=_('Tags'),
|
||||
required=False,
|
||||
help_text='Provide comma-separated list of words,'
|
||||
|
Loading…
Reference in New Issue
Block a user