2020-10-15 17:43:46 +11:00
|
|
|
from django.db import models
|
|
|
|
|
2020-11-11 14:41:27 +11:00
|
|
|
class List(models.Model):
|
|
|
|
pass
|
|
|
|
|
2020-11-08 21:48:15 +11:00
|
|
|
class Item(models.Model):
|
2020-11-11 14:41:27 +11:00
|
|
|
text = models.TextField(default='')
|
|
|
|
list = models.ForeignKey(List, default=None)
|