开发者

dynamic django form

开发者 https://www.devze.com 2022-12-09 04:06 出处:网络
I am trying to use the dynamic django form script from http://www.djangosnippets.org/snippets/714/ The dynamic form is generated, but I am having hard time retrieving submitted fields through form.开

I am trying to use the dynamic django form script from http://www.djangosnippets.org/snippets/714/

The dynamic form is generated, but I am having hard time retrieving submitted fields through form.开发者_C百科cleaned_data['myfield']

There are few comments on the snippet page, those didn't work either.


Have you made sure that you have called is_valid() on the form first, and that the field is passing it's validation routines?

0

精彩评论

暂无评论...
验证码 换一张
取 消