def locale_details(request, locale_code, leader_form=None, reviewer_form=None,
                   editor_form=None):
    locale = get_object_or_404(Locale, locale=locale_code)
    leaders = locale.leaders.all().select_related('profile')
    reviewers = locale.reviewers.all().select_related('profile')
    editors = locale.editors.all().select_related('profile')
    active = active_contributors(
        from_date=date.today() - timedelta(days=90), locale=locale_code)
    user_can_edit = _user_can_edit(request.user, locale)
    return render(
        request,
        'wiki/locale_details.html',
        {'locale': locale,
         'leaders': leaders,
         'reviewers': reviewers,
         'editors': editors,
         'active': active,
         'user_can_edit': user_can_edit,
         'leader_form': leader_form or AddUserForm(),
         'reviewer_form': reviewer_form or AddUserForm(),
         'editor_form': editor_form or AddUserForm()})
Show the locale details page.
dataset/ETHPy150Open mozilla/kitsune/kitsune/wiki/locale_views.py/locale_details