RelatedPost: mapping['thread'] now manage relation between thread and parent of related object

This commit is contained in:
bkfox
2015-10-13 12:38:18 +02:00
parent cde58334bd
commit 0032e216b8
6 changed files with 200 additions and 111 deletions

View File

@ -17,6 +17,7 @@ class Episode (RelatedPost):
related_model = programs.Episode
bind_mapping = True
mapping = {
'thread': 'program',
'title': 'name',
'content': 'description',
}