from django.db import models

# Create your models here.
class Todo(models.Model):
    title = models.CharField(max_length=30)
    info = models.CharField(max_length=200, null = True)
    created_at = models.DateTimeField(auto_now_add=True)
    due_at = models.DateTimeField("Due at")

    def __str__(self):
        return (self.title)

b4c352d7c084795976f526918a6b81a3984b902f
<mask token>


class Todo(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Todo(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.title

<mask token>


class Todo(models.Model):
    title = models.CharField(max_length=30)
    info = models.CharField(max_length=200, null=True)
    created_at = models.DateTimeField(auto_now_add=True)
    due_at = models.DateTimeField('Due at')

    def __str__(self):
        return self.title

from django.db import models


class Todo(models.Model):
    title = models.CharField(max_length=30)
    info = models.CharField(max_length=200, null=True)
    created_at = models.DateTimeField(auto_now_add=True)
    due_at = models.DateTimeField('Due at')

    def __str__(self):
        return self.title

from django.db import models

# Create your models here.
class Todo(models.Model):
    title = models.CharField(max_length=30)
    info = models.CharField(max_length=200, null = True)
    created_at = models.DateTimeField(auto_now_add=True)
    due_at = models.DateTimeField("Due at")

    def __str__(self):
        return (self.title)
