def _get_cache_version():
 from django.core.cache import cache
 version = cache.get(CMS_PAGE_CACHE_VERSION_KEY)
 if version:
  return version
 else:
  _set_cache_version(1)
  return 1

def _get_cache_version ( ) : from django . core . cache import cache version = cache . get ( CMS_PAGE_CACHE_VERSION_KEY ) if version : return version else : _set_cache_version ( 1 ) return 1
returns the current page cache version .