def list_packages(request, page_no = 1):
  package_list = Package.objects.order_by('id').reverse()
  has_package = (len(package_list) > 0)
  return render_to_response('package_list.html', {
      'package_list': package_list,
      'has_package': has_package,
      'STATIC_URL': STATIC_URL.rstrip('/'),
  })
dataset/ETHPy150Open XiaoMi/minos/tank/package_server/views.py/list_packages/original