clinic/netforce_clinic/models/translate.py

14 lines
330 B
Python
Raw Normal View History

2014-10-20 11:48:39 +00:00
from netforce.model import Model, fields
class Translate(Model):
_name="clinic.translate"
_string="Translate"
_fields={
"original_string": fields.Char("original_string","Original String",required=True,search=True),
"translate": fields.Char("translate","Translate"),
}
Translate.register()