Statistics
This package contains only the PageAccesses model.
Page Accesses
- class integreat_cms.cms.models.statistics.page_accesses.PageAccesses(*args, **kwargs)[source]
Bases:
AbstractBaseModelData model representing the accesses to a page. This is essentially a cache to alleviate pressure on the Matomo server and this table should be able to get wiped without actual data loss.
- Parameters:
id (BigAutoField) – Primary key: ID
access_date (DateField) – Date of the page accesses
accesses (IntegerField) – Page accesses
Relationship fields:
- Parameters:
language (
ForeignKeytoLanguage) – Languages of the page that was accessed (related name:page_accesses)page (
ForeignKeytoPage) – Accessed page (related name:page_accesses)
- exception DoesNotExist[source]
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned[source]
Bases:
MultipleObjectsReturned