mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
collection days
This commit is contained in:
parent
055290ce3f
commit
c94a4379c7
8 changed files with 101 additions and 5 deletions
|
@ -56,6 +56,8 @@ class Collection(models.Model):
|
|||
description = models.TextField(blank=True, null=True)
|
||||
is_public = models.BooleanField(default=False)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
start_date = models.DateField(blank=True, null=True)
|
||||
end_date = models.DateField(blank=True, null=True)
|
||||
|
||||
# if connected adventures are private and collection is public, raise an error
|
||||
def clean(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue