def site_wide_announcements(request):
    ctx = {"site_wide_announcements": current_announcements_for_request(request, site_wide=True)}
    return ctx
Adds the site-wide announcements to the global context of templates.
dataset/ETHPy150Open brosner/django-announcements/announcements/context_processors.py/site_wide_announcements