Use class-based view for redirect. Simple views was removed in Django 1.5