path('trends', Trends.as_view(), name='trends'), path('trends/xhr/avg-consumption', TrendsXhrAvgConsumption.as_view(), name='trends-xhr-avg-consumption'), path('trends/xhr/consumption-by-tariff', TrendsXhrElectricityByTariff.as_view(), name='trends-xhr-consumption-by-tariff'), path('compare', Compare.as_view(), name='compare'), path('compare/xhr/summary', CompareXhrSummary.as_view(), name='compare-xhr-summary'), # Technical information. path('status', Status.as_view(), name='status'), path('status/xhr/check-for-updates', XhrUpdateChecker.as_view(), name='status-xhr-check-for-updates'), # Generic redirects to external (help) pages. path('changelog-redirect', ChangelogRedirect.as_view(), name='changelog-redirect'), path('docs-redirect', DocsRedirect.as_view(), name='docs-redirect'), path('feedback-redirect', FeedbackRedirect.as_view(), name='feedback-redirect'), path('donations-redirect', DonationsRedirect.as_view(), name='donations-redirect'), # Views requiring authentication.
path('archive/xhr/graphs', ArchiveXhrGraphs.as_view(), name='archive-xhr-graphs'), path('statistics', Statistics.as_view(), name='statistics'), path('statistics/xhr/data', StatisticsXhrData.as_view(), name='statistics-xhr-data'), path('energy-contracts', EnergyContracts.as_view(), name='energy-contracts'), path('trends', Trends.as_view(), name='trends'), path('trends/xhr/avg-consumption', TrendsXhrAvgConsumption.as_view(), name='trends-xhr-avg-consumption'), path( 'trends/xhr/consumption-by-tariff', TrendsXhrElectricityByTariff.as_view(), name='trends-xhr-consumption-by-tariff' ), path('compare', Compare.as_view(), name='compare'), path('compare/xhr/summary', CompareXhrSummary.as_view(), name='compare-xhr-summary'), path('status', Status.as_view(), name='status'), path('status/xhr/check-for-updates', XhrUpdateChecker.as_view(), name='status-xhr-check-for-updates'), # Generic redirects to external (help) pages. path('changelog-redirect', ChangelogRedirect.as_view(), name='changelog-redirect'), path('docs-redirect', DocsRedirect.as_view(), name='docs-redirect'), path('feedback-redirect', FeedbackRedirect.as_view(), name='feedback-redirect'), path('donations-redirect', DonationsRedirect.as_view(), name='donations-redirect'), # Views requiring authentication. path('export', Export.as_view(), name='export'), path('export/csv', ExportAsCsv.as_view(), name='export-as-csv'), path('notifications', Notifications.as_view(), name='notifications'), path('notifications/xhr/mark-read', XhrMarkNotificationRead.as_view(), name='notification-xhr-mark-read'), path( 'notifications/xhr/mark-all-read',