user.py 238 B

12345678910
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from crud.base import CrudManager
  4. from models.user import Teacher, Student, SysUser
  5. crud_teacher = CrudManager(Teacher)
  6. crud_student = CrudManager(Student)
  7. crud_admin = CrudManager(SysUser)