Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加svn库地址长度限制问题 #3

Open
lilingzj opened this issue Apr 23, 2017 · 1 comment
Open

添加svn库地址长度限制问题 #3

lilingzj opened this issue Apr 23, 2017 · 1 comment

Comments

@lilingzj
Copy link

你好,修改了OpsSystem/deploy/forms.py中以下的代码,将max_length改为255了,但是提交表单时svn库地址长度仍是原来的40个字符,请问是我修改方法有问题吗?
repoAddress=forms.CharField(error_messages={'required':u'请输入库地址'},
label=u'SVN库地址',
max_length=255,
required=True,
widget=forms.TextInput(attrs={'class':'form-control','placeholder':'svn://192.168.16.1/repo/trunk'}))

@lilingzj
Copy link
Author

正常了。修改后,还需要重启uwsgi服务。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant