8 lines
180 B
Python
Raw Normal View History

from django.db import models
2020-11-11 14:41:27 +11:00
class List(models.Model):
pass
class Item(models.Model):
2020-11-11 14:41:27 +11:00
text = models.TextField(default='')
list = models.ForeignKey(List, default=None)