  
      def render_field(self, field, layout=None):
          layout = layout or 'vertical'
          style_type = field.style.get('type', 'default')
          if style_type == 'textarea' and layout == 'inline':
              style_type = 'default'
  
          input_type = self.input_type[field]
          if input_type == 'datetime-local' and isinstance(field.value, six.text_type):
              field.value = field.value.rstrip('Z')
  
 
</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_name = 'rest_framework/fields/' + layout + '/' + base
 </s> add         template_name = template_pack + '/fields/' + base </s> remove 
        template = loader.get_template(self.template)
 </s> add         template = loader.get_template('rest_framework/horizontal/form.html') </s> remove     template = 'rest_framework/form.html'
 </s> add  </s> remove             'layout': getattr(getattr(data, 'Meta', None), 'layout', 'horizontal'),
 </s> add             'template_pack': 'rest_framework/horizontal',
  
      def render_field(self, field, layout=None):
          layout = layout or 'vertical'
          style_type = field.style.get('type', 'default')


  
          input_type = self.input_type[field]
          if input_type == 'datetime-local' and isinstance(field.value, six.text_type):
              field.value = field.value.rstrip('Z')
  
keep keep keep keep replace replace keep keep keep keep keep
 Reorganize to use template_pack in form rendering 
rest_framework/renderers.py