Ejemplo n.º 1
0
def autocomplete_project_manager(request, team, project_slug):
    project = get_object_or_404(team.project_set, slug=project_slug)
    return autocomplete_user_view(request, project.potential_managers())
Ejemplo n.º 2
0
def autocomplete_language_manager(request, team, language_code):
    return autocomplete_user_view(
        request,
        team.potential_language_managers(language_code))
Ejemplo n.º 3
0
def autocomplete_invite_user(request, team):
    return autocomplete_user_view(request, team.invitable_users())