blob: 6937a3db6c4549a02e1735e573111d466d0994dc (
plain) (
blame)
| 1
2
3
4
5
6
7
8
 | from django.template import RequestContext
from pydis_site.constants import GIT_SHA
def git_sha_processor(_: RequestContext) -> dict:
    """Expose the git SHA for this repo to all views."""
    return {'git_sha': GIT_SHA}
 |