def top_contributors(request, area):

    try:
        page = int(request.GET.get('page', 1))
    except ValueError:
        page = 1
    page_size = 100

    locale = _validate_locale(request.GET.get('locale'))
    product = request.GET.get('product')
    if product:
        product = get_object_or_404(Product, slug=product)

    if area == 'army-of-awesome':
        results, total = top_contributors_aoa(
            locale=locale, count=page_size, page=page)
        locales = settings.SUMO_LANGUAGES
    elif area == 'questions':
        results, total = top_contributors_questions(
            locale=locale, product=product, count=page_size, page=page)
        locales = QuestionLocale.objects.locales_list()
    elif area == 'kb':
        results, total = top_contributors_kb(
            product=product, count=page_size, page=page)
        locales = None
    elif area == 'l10n':
        results, total = top_contributors_l10n(
            locale=locale, product=product, count=page_size, page=page)
        locales = settings.SUMO_LANGUAGES
    else:
        raise Http404

    return render(request, 'community/top_contributors.html', {
        'results': results,
        'total': total,
        'area': area,
        'locale': locale,
        'locales': locales,
        'product': product,
        'products': Product.objects.filter(visible=True),
        'page': page,
        'page_size': page_size,
    })
Top contributors list view.
dataset/ETHPy150Open mozilla/kitsune/kitsune/community/views.py/top_contributors