4 from django.conf import settings
6 if settings.SHOW_APP_VERSION:
8 process = subprocess.Popen(["git", "show", "--oneline"], stdout=subprocess.PIPE)
9 data, _err = process.communicate()
11 VERSION = data.splitlines()[0].split()[0]
16 'MEDIA_URL': settings.MEDIA_URL,
17 'STATIC_URL': settings.STATIC_URL,
18 'DEBUG': settings.DEBUG,
19 'RAVEN_CONFIG': getattr(settings, 'RAVEN_CONFIG'),
20 'APP_VERSION': VERSION,