Source

barcamp malacca / example / exampleapp / models.py

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

# Create your models here.
class Example(models.Model):
    name = models.TextField()
    score = models.IntegerField()