Re: Wrong assertion in __init__ of ValidationError?

2007-07-30 Thread Jacob Kaplan-Moss
Hi Gilbert -- Yeah, this is a bug; it's on my shortlist to fix. Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To

Wrong assertion in __init__ of ValidationError?

2007-07-29 Thread Gilbert Fine
This is from django r5773: class ValidationError(Exception): def __init__(self, message): "ValidationError can be passed a string or a list." if isinstance(message, list): self.messages = ErrorList([smart_unicode(msg) for msg in message]) else: