from django.conf import settings

def site_info(param):
    return {
        'SITE_NAME': getattr(settings, 'SITE_NAME', '') ,
        'SITE_URL': getattr(settings, 'SITE_URL', '')
    }

def cache_times(param):
    return {
        'CACHETIMES': getattr(settings, 'CACHETIMES', ''),
    }
    
def server_mode(param):
    return {
        'SERVER_MODE': getattr(settings, 'SERVER_MODE', ''),
    }