@addon_view
@non_atomic_requests
def overview_series(request, addon, group, start, end, format):
 date_range = check_series_params_or_404(group, start, end, format)
 check_stats_permission(request, addon)
 dls = get_series(DownloadCount, addon=addon.id, date__range=date_range)
 updates = get_series(UpdateCount, addon=addon.id, date__range=date_range)
 series = zip_overview(dls, updates)
 return render_json(request, addon, series)

@ addon_view @ non_atomic_requests def overview_series ( request , addon , group , start , end , format ) : date_range = check_series_params_or_404 ( group , start , end , format ) check_stats_permission ( request , addon ) dls = get_series ( DownloadCount , addon = addon . id , date__range = date_range ) updates = get_series ( UpdateCount , addon = addon . id , date__range = date_range ) series = zip_overview ( dls , updates ) return render_json ( request , addon , series )
combines downloads_series and updates_series into one payload .