Merge "Add package check for package name length"

This commit is contained in:
Jenkins 2016-01-19 14:49:20 +00:00 committed by Gerrit Code Review
commit e3d0764c4c
1 changed files with 3 additions and 1 deletions

View File

@ -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,'