阅读背景:

为什么表单验证会删除一个简单的字符串

来源:互联网 

I'm having trouble when trying to validate a basic ModelForm instanciated with a QueryDict. The form has a field 'name' and when it goes through form.cleaned_data its value is removed, even when I submit something like "abc" as name. Consequently, I cant validate the form. I'm a bit used to Django and it's the first time I face such an issue. I'm having trouble when trying to validate a ba




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: