Skip to content
Snippets Groups Projects
  • Tanner Prestegard's avatar
    a6a68799
    Add playground instance changes into master · a6a68799
    Tanner Prestegard authored
    The settings for gracedb-playground are no longer on a separate
    branch and are just included in master. They can be selected
    simply by settings the DJANGO_SETTINGS_MODULE environment variable
    appropriately.  This should be much easier to maintain than a
    completely separate branch.
    a6a68799
    History
    Add playground instance changes into master
    Tanner Prestegard authored
    The settings for gracedb-playground are no longer on a separate
    branch and are just included in master. They can be selected
    simply by settings the DJANGO_SETTINGS_MODULE environment variable
    appropriately.  This should be much easier to maintain than a
    completely separate branch.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
context_processors.py 176 B
from django.conf import settings


def LigoDebugContext(request):
    if hasattr(settings, 'CONFIG_NAME'):
        return { 'config_name': settings.CONFIG_NAME }
    return {}