move code into newly created ./src/ dir
This commit is contained in:
9
src/apps/dashboard/models.py
Normal file
9
src/apps/dashboard/models.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.db import models
|
||||
|
||||
class List(models.Model):
|
||||
pass
|
||||
|
||||
class Item(models.Model):
|
||||
text = models.TextField(default='')
|
||||
list = models.ForeignKey(List, default=None, on_delete=models.CASCADE)
|
||||
|
||||
Reference in New Issue
Block a user