This is my students class
class Students(AbstractUser):
mobile_number = models.TextField()
My Teacher Class
class Teacher(models.Model):
students = models.TextField()
How can associate 6 students to one teacher automatically in Django
Aucun commentaire:
Enregistrer un commentaire