graph LR
AnlModelAdmin["AnlModelAdmin"]
StatAdmin_Classes["StatAdmin Classes"]
MonthlySnapshotSaving["MonthlySnapshotSaving"]
StatAdmin_Classes -- "Inherits from" --> AnlModelAdmin
StatAdmin_Classes -- "Queries snapshot tables from" --> MonthlySnapshotSaving
Abstract Components Overview
Serves as the foundational admin interface controller for all analytics reports. It standardizes common UI elements and behaviors, such as custom filters, date-range selectors, and data visualization hooks, ensuring a consistent user experience across different statistical views.
Related Classes/Methods:
A group of specialized controllers that manage the display of specific business metrics reports within the Django admin site. Each class links a data model to a view, handling the unique logic for reports like deal flow, lead sources, sales funnels, and income.
Related Classes/Methods:
analytics.site.dealstatadmin.DealStatAdmin(13:84)analytics.site.incomestatadmin.IncomeStatAdmin(44:469)analytics.site.leadsourcestatadmin.LeadSourceStatAdmin(27:118)analytics.site.salesfunnelsadmin.SalesFunnelAdmin(10:48)analytics.site.closingreasonstatadmin.ClosingReasonStatAdmin(26:91)
A data processing service responsible for periodic data aggregation. It runs on a schedule to transform raw, transactional CRM data into pre-calculated summary tables (snapshots). This pre-aggregation is a crucial performance optimization.
Related Classes/Methods: