# views.py @login_required @permission_classes([IsAdminUser]) @api_view([\'GET\']) def say_hi_admin(request): return Response