from django.db import models

# Create your models here.
class Item(models.Model):

    name = models.CharField(max_length=30, blank=False)
    done = models.BooleanField(blank=False, default=False)
    vote = models.IntegerField(default=0)

    def __str__(self):
        return self.name
from django.db import models

# Create your models here.
class Item(models.Model):

    name = models.CharField(max_length=30, blank=False)
    done = models.BooleanField(blank=False, default=False)
    vote = models.IntegerField(default=0)

    def __str__(self):
        return self.name
# Create your models here.