I'm trying to follow the example at the bottom of django form <http://docs.djangoproject.com/en/1.0/ref/forms/validation/> *reference*.
I have to fields, start and an end date and I want to validate that the start date comes after the end date. However when I try to do this part: msg = u"Must put 'help' in subject when cc'ing yourself."self._errors["cc_myself"] = ErrorList([msg])self._errors["subject"] = ErrorList([msg]) I get the following error: TypeError: 'instancemethod' object does not support item assignment I logged self._errors to see if that would give me a clue and it says it is a "bound method". I also tried to follow another example<http://djangosnippets.org/snippets/337/>on Django snippets that did not work either (for a full example look at the comments). If anyone has any advise on how to add an error message to multiple fields in a django form from the clean method I'd appreciate it. Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
