summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/links/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/links/models.py b/app/links/models.py
index 03eff27..4c87f1b 100644
--- a/app/links/models.py
+++ b/app/links/models.py
@@ -37,7 +37,7 @@ class Link(models.Model):
url = models.CharField(max_length=400)
description = models.TextField(blank=True, null=True)
body_markdown = models.TextField(blank=True, null=True)
- pub_date = models.DateTimeField()
+ pub_date = models.DateTimeField(default=timezone.now)
PUB_STATUS = (
(0, 'Private'),
(1, 'Public'),