clinic/netforce_clinic/models/graduation.py

12 lines
229 B
Python
Raw Normal View History

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