Skip to content

Commit

Permalink
Fix bug with revisions not loading correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
macropin committed Sep 1, 2011
1 parent 6d0050d commit b2db24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/admin/views.py
Expand Up @@ -100,7 +100,7 @@ def traduction(request, page_id, language_id):
def get_content(request, page_id, content_id):
"""Get the content for a particular page"""
content = Content.objects.get(pk=content_id)
return HttpResponse(content)
return HttpResponse(content.body)
get_content = staff_member_required(get_content)
get_content = auto_render(get_content)

Expand Down

0 comments on commit b2db24d

Please sign in to comment.