def get_default_timezone():
    global _localtime
    if _localtime is None:
        if isinstance(settings.TIME_ZONE, six.string_types) and pytz is not None:
            _localtime = pytz.timezone(settings.TIME_ZONE)
        else:
            # This relies on os.environ['TZ'] being set to settings.TIME_ZONE.
            _localtime = LocalTimezone()
    return _localtime

# This function exists for consistency with get_current_timezone_name
Three-level inheritance with {{ block.super }} from grandparent
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/utils/timezone.py/get_default_timezone--crossover with--dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_extends.py/InheritanceTests.test_inheritance22