def commonfooter(request, messages=None):
  if messages is None:
    messages = {}

  hue_settings = Settings.get_settings()

  return django_mako.render_to_string("common_footer.mako", {
    'request': request,
    'messages': messages,
    'version': settings.HUE_DESKTOP_VERSION,
    'collect_usage': collect_usage(),
    'tours_and_tutorials': hue_settings.tours_and_tutorials
  })
Returns the rendered common footer
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/views.py/commonfooter