No Description

models.py 172B

12345678
  1. from django.db import models
  2. # Create your models here.
  3. class Curso(models.Model):
  4. name = models.CharField(max_length=150)
  5. code = models.CharField(max_length=9)