          Render serializer data and return an HTML form, as a string.
          """
          renderer_context = renderer_context or {}
          request = renderer_context['request']
  
          template = loader.get_template(self.template)
          context = RequestContext(request, {
              'form': data.serializer,
              'layout': getattr(getattr(data, 'Meta', None), 'layout', 'horizontal'),
              'renderer': self
          })
 
</s> remove             'layout': getattr(getattr(data, 'Meta', None), 'layout', 'horizontal'),
 </s> add             'template_pack': 'rest_framework/horizontal', </s> remove     template = 'rest_framework/form.html'
 </s> add  </s> remove         if style_type == 'textarea' and layout == 'inline':
            style_type = 'default'
 </s> add  </s> remove         template_name = 'rest_framework/fields/' + layout + '/' + base
 </s> add         template_name = template_pack + '/fields/' + base </s> remove     def render_field(self, field, layout=None):
        layout = layout or 'vertical'
 </s> add     def render_field(self, field, template_pack=None):
        template = loader.get_template('rest_framework/horizontal/form.html')
          Render serializer data and return an HTML form, as a string.
          """
          renderer_context = renderer_context or {}
          request = renderer_context['request']
        template = loader.get_template('rest_framework/horizontal/form.html')
        template = loader.get_template('rest_framework/horizontal/form.html')
          context = RequestContext(request, {
              'form': data.serializer,
              'layout': getattr(getattr(data, 'Meta', None), 'layout', 'horizontal'),
              'renderer': self
          })
keep keep keep keep replace replace keep keep keep keep keep
 Reorganize to use template_pack in form rendering 
rest_framework/renderers.py