code: def export(request, count, name='', content_type=None):
      
      t_list = []
      if name:
          t_list.append('page/export/%s.html' % name)
      t_list.append('page/export/banner.html')
  
      try:
          cat = Category.objects.get_by_tree_path('')
      except Category.DoesNotExist:
          raise Http404()
      listing = Listing.objects.get_listing(count=count, category=cat)
      return render(
              request,
              t_list,
              { 'category' : cat, 'listing' : listing },
              content_type=content_type
          )
docs: Export banners.
  
      :Parameters:
          - `count`: number of objects to pass into the template
          - `name`: name of the template ( page/export/banner.html is default )
          - `models`: list of Model classes to include