4 ms·
In forms validate dictionaries, the example makes no sense. At first, I assumed this was a duplicate key issue, but I cannot reproduce this problem. >>> good_
by ambiate 14y ago
In forms validate dictionaries, the example makes no sense. At first, I assumed this was a duplicate key issue, but I cannot reproduce this problem.
>>> good_form = MyForm({"title": "Two Scoops of Django"})
>>> good_form.is_valid()
True
>>> good_form.errors
{}
>>> bad_form = MyForm({"title": "Two Scoops of Django"})
>>> bad_form.is_valid()
True
>>> bad_form.errors
{}
- pydanny 14y agoD'oh! Typo on my part. Fixed.