path('xhr/notification-read', DashboardXhrNotificationRead.as_view(), name='dashboard-xhr-notification-read'), path('archive', Archive.as_view(), name='archive'), path('archive/xhr/summary', ArchiveXhrSummary.as_view(), name='archive-xhr-summary'), 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'), # Technical information. path('status', Status.as_view(), name='status'),
app_name = 'frontend' # Public views. urlpatterns = [ path('', Dashboard.as_view(), name='dashboard'), path('xhr/header', DashboardXhrHeader.as_view(), name='dashboard-xhr-header'), path('xhr/consumption', DashboardXhrConsumption.as_view(), name='dashboard-xhr-consumption'), path('xhr/electricity', DashboardXhrElectricityConsumption.as_view(), name='dashboard-xhr-electricity'), path('xhr/gas', DashboardXhrGasConsumption.as_view(), name='dashboard-xhr-gas'), path('xhr/temperature', DashboardXhrTemperature.as_view(), name='dashboard-xhr-temperature'), path('archive', Archive.as_view(), name='archive'), path('archive/xhr/summary', ArchiveXhrSummary.as_view(), name='archive-xhr-summary'), 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.