def get_permission_cache(user, key):
 from django.core.cache import cache
 return cache.get(get_cache_key(user, key), version=get_cache_permission_version())

def get_permission_cache ( user , key ) : from django . core . cache import cache return cache . get ( get_cache_key ( user , key ) , version = get_cache_permission_version ( ) )
helper for reading values from cache .