from django.db import models

# Create your models here.
class Todo(models.Model):
    title = models.CharField(max_length=120)
    description = models.TextField(max_length=500) 
    # completed property is the status of the task, and we will set the default to False.
    completed = models.BooleanField(default=False)

    # string representation
    def _str_(self):
        return self.title