def METHOD_NAME(**options):
    """ This enables us to use Django template tags like
    {% url “index” %} or {% static “path/to/static/file.js” %}
    in our Jinja2 templates.  """
    env = Environment(
        line_comment_prefix="{#",
        comment_start_string="{% comment %}",
        comment_end_string="{% endcomment %}",
        **options
    )
    env.globals.update(
        {
            "static": staticfiles_storage.url,
            "url": reverse,
            "easy_url": easy_url,
            "astimezone_with_tz": astimezone_with_tz,
            "time_with_tz": time_with_tz,
            "really_nice_time_format_with_tz": really_nice_time_format_with_tz,
            "ASSETS": ASSETS,
            "SENTRY_JAVASCRIPT_DSN": SENTRY_JAVASCRIPT_DSN,
            "current_year": date.today().year,
        }
    )
    return env