              'raw_data_put_or_patch_form': raw_data_put_or_patch_form,
  
              'display_edit_forms': bool(response.status_code != 403),
  
              'api_settings': api_settings
          }
          return context
  
      def render(self, data, accepted_media_type=None, renderer_context=None):
          """
 
</s> remove var csrftoken = getCookie('csrftoken');
 </s> add var csrftoken = getCookie(window.drf.csrfCookieName);
            'api_settings': api_settings,
            'csrf_cookie_name': settings.CSRF_COOKIE_NAME,
              'raw_data_put_or_patch_form': raw_data_put_or_patch_form,
  
              'display_edit_forms': bool(response.status_code != 403),
  
            'api_settings': api_settings,
            'csrf_cookie_name': settings.CSRF_COOKIE_NAME,
          }
          return context
  
      def render(self, data, accepted_media_type=None, renderer_context=None):
          """
keep keep keep keep replace keep keep keep keep keep
 Added support for custom CSRF cookie names

Instead of hardcoding the CSRF cookie name, the value is passed to the template as a context variable, rendered as a JavaScript variable, and read by csrf.js.

Fixes #4048 
rest_framework/renderers.py