"""sub_todo Models."""

from django.db import models


class MainItem(models.Model):
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'MainItem(name={!r})'.format(self.name)


class SubItem(models.Model):
    main_parent = models.ForeignKey(MainItem)
    name = models.TextField()


    def __str__(self):
        return self.name

    def __repr__(self):
        return 'SubItem(name={!r})'.format(self.name)

641281c29b9b03eca477bca468e739678b6c59f4
<mask token>


class SubItem(models.Model):
    main_parent = models.ForeignKey(MainItem)
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'SubItem(name={!r})'.format(self.name)

<mask token>


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


class SubItem(models.Model):
    main_parent = models.ForeignKey(MainItem)
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'SubItem(name={!r})'.format(self.name)

<mask token>


class MainItem(models.Model):
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'MainItem(name={!r})'.format(self.name)


class SubItem(models.Model):
    main_parent = models.ForeignKey(MainItem)
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'SubItem(name={!r})'.format(self.name)

<mask token>
from django.db import models


class MainItem(models.Model):
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'MainItem(name={!r})'.format(self.name)


class SubItem(models.Model):
    main_parent = models.ForeignKey(MainItem)
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'SubItem(name={!r})'.format(self.name)

"""sub_todo Models."""

from django.db import models


class MainItem(models.Model):
    name = models.TextField()

    def __str__(self):
        return self.name

    def __repr__(self):
        return 'MainItem(name={!r})'.format(self.name)


class SubItem(models.Model):
    main_parent = models.ForeignKey(MainItem)
    name = models.TextField()


    def __str__(self):
        return self.name

    def __repr__(self):
        return 'SubItem(name={!r})'.format(self.name)
