Ported post_detail view to Django 1.5.