no default published date
This commit is contained in:
parent
2acecdd0ef
commit
629491eeed
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Item(models.Model):
|
|||
title = models.CharField(max_length=1024)
|
||||
url = models.CharField(max_length=1024, unique=True)
|
||||
description = models.TextField(default="", blank=True, editable=False)
|
||||
published = models.DateTimeField(default=timezone.now, null=True, blank=True)
|
||||
published = models.DateTimeField(default=None, null=True, blank=True)
|
||||
announced = models.DateTimeField(null=True, default=None, blank=True, editable=False)
|
||||
data = models.JSONField(default=dict, editable=False)
|
||||
user = models.ForeignKey(User, null=True, related_name='items', on_delete=models.CASCADE)
|
||||
|
|
Loading…
Reference in a new issue