Dot-Notation for MediaEntry.media_type

This commit is contained in:
Elrond
2011-12-04 20:16:01 +01:00
parent 1d93996604
commit f4ee839939
3 changed files with 4 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ def media_home(request, media, page, **kwargs):
comment_form = user_forms.MediaCommentForm(request.POST)
media_template_name = get_media_manager(media['media_type'])['display_template']
media_template_name = get_media_manager(media.media_type)['display_template']
return render_to_response(
request,