from django.db import models # Create your models here. class Curso(models.Model): name = models.CharField(max_length=150) code = models.CharField(max_length=9)