clinic/netforce_clinic/models/education.py

12 lines
225 B
Python
Raw Permalink Normal View History

2014-10-01 16:14:52 +00:00
from netforce.model import Model, fields
class Education(Model):
_name="clinic.education"
_string="Education"
_fields={
"name": fields.Char("Name",required=True,search=True),
}
Education.register()