docs: def flatpages_link_list(request):
      """
      Returns a HttpResponse whose content is a Javascript file representing a
      list of links to flatpages.
      """
      from django.contrib.flatpages.models import FlatPage
      link_list = [(page.title, page.url) for page in FlatPage.objects.all()]
      return render_to_link_list(link_list)