Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@chriskief
Created October 24, 2013 05:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriskief/7131838 to your computer and use it in GitHub Desktop.
Save chriskief/7131838 to your computer and use it in GitHub Desktop.
from django.conf import settings
def global_settings(request):
# return any necessary values
return {
'GOOGLE_ANALYTICS': settings.GOOGLE_ANALYTICS,
'GOOGLE_API_KEY': settings.GOOGLE_API_KEY
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment