djangocms_page_meta.utils

Warning

While functions in this module can be used in code to work with the data, they are by no means to be considered as a stable API, so they may change in future release.

djangocms_page_meta.utils.get_cache_key(page, language)[source]

Create the cache key for the current page and language

djangocms_page_meta.utils.get_page_meta(page, language)[source]

Retrieves all the meta information for the page in the given language

Parameters:
  • page – a Page instance

  • lang – a language code

Returns:

Meta instance

Type:

object