  
      def to_html(self, request, queryset, view):
          template = loader.get_template(self.template)
          context = self.get_template_context(request, queryset, view)
          return template_render(template, context)
  
      def get_schema_fields(self, view):
          assert coreapi is not None, 'coreapi must be installed to use `get_schema_fields()`'
          assert coreschema is not None, 'coreschema must be installed to use `get_schema_fields()`'
          return [
 
</s> remove         return template_render(template, context)
 </s> add         return template.render(context) </s> remove         return template_render(template, context)
 </s> add         return template.render(context) </s> remove         return template_render(template, context)
 </s> add         return template.render(context) </s> remove         return template_render(template, context)
 </s> add         return template.render(context) </s> remove         return template_render(template, context)
 </s> add         return template.render(context)
        return template.render(context)
  
      def to_html(self, request, queryset, view):
          template = loader.get_template(self.template)
          context = self.get_template_context(request, queryset, view)
        return template.render(context)
  
      def get_schema_fields(self, view):
          assert coreapi is not None, 'coreapi must be installed to use `get_schema_fields()`'
          assert coreschema is not None, 'coreschema must be installed to use `get_schema_fields()`'
          return [
keep keep keep keep replace keep keep keep keep keep
 Remove Django 1.8 & 1.9 compatibility code (#5481)

* Identify code that needs to be pulled out of/removed from compat.py

* Extract modern code from get_names_and_managers in compat.py and remove compat code

* Extract modern code from is_authenticated() in compat.py and remove.

* Extract modern code from is_anonymous() in compat.py and remove

* Extract modern code from get_related_model() from compat.py and remove

* Extract modern code from value_from_object() in compat.py and remove

* Update postgres compat

JSONField now always available.

* Remove DecimalValidator compat

* Remove get_remote_field compat

* Remove template_render compat

Plus isort.

* Remove set_many compat

* Remove include compat 
rest_framework/filters.py