News for hackers. Stuff that matters.
Re:Core Concepts of Django Forms by ambiate on Friday March 29, 2013 @02:42PM (#5462278)
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 {}

Re:Core Concepts of Django Forms by pydanny on Friday March 29, 2013 @02:47PM (#5462301)
D'oh! Typo on my part. Fixed.