parameters: (request)
return_statement: return HttpResponse({})
docstring: Get the list of current buckets to autocomplete.
  
      :param request: Django request.
      :type request: :class:`django.http.HttpRequest`
      :returns: :class:`django.http.HttpResponse`
docstring_summary: Get the list of current buckets to autocomplete.
docstring_tokens: Get the list of current buckets to autocomplete .
function: def bucket_autocomplete(request):
      """
      Get the list of current buckets to autocomplete.
  
      :param request: Django request.
      :type request: :class:`django.http.HttpRequest`
      :returns: :class:`django.http.HttpResponse`
      """
  
      if request.method == "POST" and request.is_ajax():
          term = request.POST.get('term', None)
          if term:
              return get_bucket_autocomplete(term)
      return HttpResponse({})
function_tokens: def bucket_autocomplete ( request ) : if request . method == "POST" and request . is_ajax ( ) : term = request . POST . get ( 'term' , None ) if term : return get_bucket_autocomplete ( term ) return HttpResponse ( { } )