class Matricula(models.Model):
id = models.AutoField(primary_key=True)
estudiante = models.ForeignKey(Estudiante, null=False, blank=False, on_delete=models.CASCADE
curso = models.ForeignKey(Curso, null=False, blank=False, on_delete-models.CASCADE)
fechaMatricula = models.DateTimeField(auto_now_add=True)
Comentarios
Publicar un comentario