viewset, detailview and sections

This commit is contained in:
bkfox
2015-09-30 14:19:36 +02:00
parent 6dd2036ec9
commit 8d561a1f7b
6 changed files with 194 additions and 142 deletions

View File

@ -137,11 +137,12 @@ class Article (BasePost):
verbose_name_plural = _('Articles')
ProgramPost = Post.create_related_post(programs.Program, {
'title': 'name',
'content': 'description',
})
EpisodePost = Post.create_related_post(programs.Episode, {
'title': 'name',
'content': 'description',