On Wed, Feb 10, 2010 at 12:55 AM, Ian Wilson wrote:
> I'm not quite sure if what I'm about to discuss is what you're asking
> so correct me if I'm wrong. A trailing comma will sometimes create a
> tuple depending on the context which doesn't have much to do with
> formencode.
A comma always crea
Ian Wilson pisze:
I'm not quite sure if what I'm about to discuss is what you're asking
so correct me if I'm wrong. A trailing comma will sometimes create a
tuple depending on the context which doesn't have much to do with
formencode.
Yes I agree.
Ha also yes that comma thing has happened to
I'm not quite sure if what I'm about to discuss is what you're asking
so correct me if I'm wrong. A trailing comma will sometimes create a
tuple depending on the context which doesn't have much to do with
formencode. Ha also yes that comma thing has happened to me. The
company attribute is recei
Have you ever happened to you?
My example:
class GoodUserForm(FancyValidator):
def validate_python(self, value, state):
errors = {}
[...]
try:
String(not_empty=True, min=2).to_python(value['company']) #
raise KeyError
except formencode.Invalid, e: