          if input_type == 'datetime-local' and isinstance(field.value, six.text_type):
              field.value = field.value.rstrip('Z')
  
          base = self.field_templates[field][style_type]
          template_name = 'rest_framework/fields/' + layout + '/' + base
          template = loader.get_template(template_name)
          context = Context({
              'field': field,
              'input_type': input_type,
              'renderer': self,
 
</s> remove         if style_type == 'textarea' and layout == 'inline':
            style_type = 'default'
 </s> add  </s> remove             'layout': layout
 </s> add  </s> remove     def render_field(self, field, layout=None):
        layout = layout or 'vertical'
 </s> add     def render_field(self, field, template_pack=None): </s> remove     template = 'rest_framework/form.html'
 </s> add  </s> remove 
        template = loader.get_template(self.template)
 </s> add         template = loader.get_template('rest_framework/horizontal/form.html')
        template_name = template_pack + '/fields/' + base
          if input_type == 'datetime-local' and isinstance(field.value, six.text_type):
              field.value = field.value.rstrip('Z')
  
          base = self.field_templates[field][style_type]
        template_name = template_pack + '/fields/' + base
          template = loader.get_template(template_name)
          context = Context({
              'field': field,
              'input_type': input_type,
              'renderer': self,
keep keep keep keep replace keep keep keep keep keep
 Reorganize to use template_pack in form rendering 
rest_framework/renderers.py