calendar; init rel_post issue

This commit is contained in:
bkfox
2016-06-29 02:23:56 +02:00
parent 3d8abd9df8
commit dd2ccac3c0
6 changed files with 86 additions and 13 deletions

View File

@ -190,7 +190,7 @@ class Post (models.Model, Routable):
if not self.title:
self.title = _('{name} // {date}').format(
name = self.thread.title,
date = self.date
date = self.date.strftime('%d %B %Y')
)
if not self.content:
self.content = self.thread.content