• Sylvain Thénault's avatar
    [web/form] Relax condition for non-translating field names · 95e0883e2375
    Sylvain Thénault authored
    we should test true condition instead of None, so if one raise a ValidationError
    using an empty string as 'no-field' marker instead of None, we don't get the PO
    file header that gettext likes to return when one attempt to translate an empty
    string.
    
    --HG--
    branch : 3.25
    95e0883e2375
formrenderers.py 19.5 KB