Source

tutorial-django-remake-crud / alunos / models.py

Full commit
1
2
3
4
5
6
from django.db import models

# Create your models here.
class Aluno(models.Model):
    nome = models.CharField(max_length = 100)
    idade = models.IntegerField()