From 9652ecd1d29e0a0ed02a8dc2778b7d0caa0ff921 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2015 13:49:40 +0000 Subject: changed pub_date datatype on resume pubitems --- app/resume/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/resume') diff --git a/app/resume/models.py b/app/resume/models.py index 4df639e..13a40fe 100644 --- a/app/resume/models.py +++ b/app/resume/models.py @@ -22,7 +22,7 @@ class PubItem(models.Model): body_markdown = models.TextField(null=True, blank=True) body_html = models.TextField(null=True, blank=True) url = models.CharField(max_length=200, blank=True, null=True) - pub_date = models.CharField(max_length=40, blank=True, null=True) + pub_date = models.DateTimeField('Date published') publisher = models.ForeignKey(Publisher) class Meta: -- cgit v1.2.3-70-g09d2