user.py 234 B

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