@reviewer_required(moderator=True)
def route_reviewer(request):
 return http.HttpResponseRedirect(reverse('reviewers.home'))

@ reviewer_required ( moderator = True ) def route_reviewer ( request ) : return http . HttpResponseRedirect ( reverse ( 'reviewers.home' ) )
redirect to apps home page if app reviewer .