def validate_set(cls, name, id, data, url='../edit'):
r = validate_get(cls, name, id)
try:
r.set(**data)
except Exception, e:
def validate_set(cls, name, id, data, url='../edit'):
r = validate_get(cls, name, id)
try:
r.set(**data)
except Exception, e: