I would like to configure my Teacher model so that I can have several teachers with the same name, the same age but different departments How to do ?
class Teacher(models.Model):
name=models.CharField(max_length=70)
age=models.IntegerField()
service=models.CharField(max_length=100)
Exemple output on my database :
Name Age Service
Arnaud 29 Science
Carmen 37 Medecine
Arnaud 29 Geologie
Carmen 37 Science