app/soc/logic/cleaning.py
changeset 1768 3177f83c1e50
parent 1755 972c546f0810
child 1773 ad930f979ed9
equal deleted inserted replaced
1767:eb7b8367e30f 1768:3177f83c1e50
    48 
    48 
    49 DEF_ORGANZIATION_NOT_ACTIVE_MSG = ugettext(
    49 DEF_ORGANZIATION_NOT_ACTIVE_MSG = ugettext(
    50     "This organization is not active or doesn't exist.")
    50     "This organization is not active or doesn't exist.")
    51 
    51 
    52 DEF_NO_SUCH_DOCUMENT_MSG = ugettext(
    52 DEF_NO_SUCH_DOCUMENT_MSG = ugettext(
    53     "There is no such document with that link_id under this entity.")
    53     "There is no such document with that link ID under this entity.")
    54 
    54 
    55 
    55 
    56 def check_field_is_empty(field_name):
    56 def check_field_is_empty(field_name):
    57   """Returns decorator that bypasses cleaning for empty fields.
    57   """Returns decorator that bypasses cleaning for empty fields.
    58   """
    58   """