<s> from __future__ import unicode_literals <EOL> import django <EOL> import sys <EOL> import types <EOL> from django . conf import settings <EOL> __all__ = [ '<STR_LIT>' ] <EOL> PY3 = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:3> <EOL> if hasattr ( settings , '<STR_LIT>' ) : <EOL> cache_name = settings . WAFFLE_CACHE_NAME <EOL> if django . VERSION >= ( <NUM_LIT:1> , <NUM_LIT:7> ) : <EOL> from django . core . cache import caches <EOL> cache = caches [ cache_name ] <EOL> else : <EOL> from django . core . cache import get_cache <EOL> cache = get_cache ( cache_name ) <EOL> else : <EOL> from django . core . cache import cache <EOL> AUTH_USER_MODEL = getattr ( settings , '<STR_LIT>' , '<STR_LIT>' ) <EOL> CLASS_TYPES = ( type , ) <EOL> if not PY3 : <EOL> CLASS_TYPES = ( type , types . ClassType ) </s>
