<gh_stars>1-10
'''This file contains context processors to pass social media information to each template.

These are needed to properly render the Follow On Twitter, Like on Facebook and Add to Google Plus Information'''

from django.conf import settings

def social_media_accounts(request):
    '''A context processor to add the a dictionary of social media accounts to the context.
    
    If no accounts are specified then empty strings should be passed.
    '''
    dict = {}
    dict['twitter'] = settings.TWITTER_NAME
    dict['google_plus'] = settings.GOOGLE_PLUS_ID
    dict['facebook'] = settings.FACEBOOK_NAME
    dict['lab_name'] = settings.LAB_NAME
    dict['disqus_forum'] = settings.DISQUS_SHORTNAME
    dict['fb_app_id'] = settings.FACEBOOK_APP_ID
    dict['fb_admins'] = settings.FACEBOOK_ID
    dict['analytics_tracking'] = settings.ANALYTICS_TRACKING
    dict['analytics_root'] = settings.ANALYTICS_ROOT
    return dict

'''This file contains context processors to pass social media information to each template.

These are needed to properly render the Follow On Twitter, Like on Facebook and Add to Google Plus Information'''

from django.conf import settings

def social_media_accounts(request):
    '''A context processor to add the a dictionary of social media accounts to the context.
    
    If no accounts are specified then empty strings should be passed.
    '''
    dict = {}
    dict['twitter'] = settings.TWITTER_NAME
    dict['google_plus'] = settings.GOOGLE_PLUS_ID
    dict['facebook'] = settings.FACEBOOK_NAME
    dict['lab_name'] = settings.LAB_NAME
    dict['disqus_forum'] = settings.DISQUS_SHORTNAME
    dict['fb_app_id'] = settings.FACEBOOK_APP_ID
    dict['fb_admins'] = settings.FACEBOOK_ID
    dict['analytics_tracking'] = settings.ANALYTICS_TRACKING
    dict['analytics_root'] = settings.ANALYTICS_ROOT
    return dict
This file contains context processors to pass social media information to each template.  These are needed to properly render the Follow On Twitter, Like on Facebook and Add to Google Plus Information A context processor to add the a dictionary of social media accounts to the context.          If no accounts are specified then empty strings should be passed.