Can Some One please help in my django but I have no money I am fourteen years and I want someone to check my code
if have this class
class User(AbstractUser):
mobile_number = [login to view URL](max_length=100)
grade = [login to view URL](max_length=100)
laptop_yes_or = [login to view URL](max_length=100)
and
class Teacher([login to view URL]):
student = [login to view URL](User)
The task I am trying since five days is
If I hire a new teacher and new Student comes how can we add students to teachers automatically means students get distributed to all Teachers like if there are 12 students we will hire 2 teachers and they will automatically get 6 students without adding from admin
I have basically two django models Student and Teacher
basically
If I have 12 students then I have to hire 2 teachers so that I can assign equal students to 2 teachers some times one teacher can I have more students in case of 13 students but if 12 students I have to assign 2 teachers 6-6 students
I want this when a new teacher sign in or new student sign and I want to distribute all students to teachers
PLEASE HELP
(PROVIDE [login to view URL] [login to view URL] and changes to code )