mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
notes beta
This commit is contained in:
parent
3f900bc41a
commit
7c2b0e927d
6 changed files with 126 additions and 30 deletions
|
@ -116,6 +116,7 @@ class Note(models.Model):
|
|||
User, on_delete=models.CASCADE, default=default_user_id)
|
||||
name = models.CharField(max_length=200)
|
||||
content = models.TextField(blank=True, null=True)
|
||||
links = ArrayField(models.URLField(), blank=True, null=True)
|
||||
date = models.DateField(blank=True, null=True)
|
||||
is_public = models.BooleanField(default=False)
|
||||
collection = models.ForeignKey('Collection', on_delete=models.CASCADE, blank=True, null=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue