
 
from django.urls import path, re_path
from django.views.generic.base import TemplateView
from .views import dashboard_cost, dashboard_energy,  MotorDataListView


app_name = 'dashboard'
urlpatterns = [
    path('',  MotorDataListView.as_view(), name='dashboard_custom'),
    #path('', dashboard_custom, name='dashboard_custom'),
    path('energy', dashboard_energy, name='dashboard_energy'),
    path('cost', dashboard_cost, name='dashboard_cost'),
]


[((336, 393), 'django.urls.path', 'path', (['"""energy"""', 'dashboard_energy'], {'name': '"""dashboard_energy"""'}), "('energy', dashboard_energy, name='dashboard_energy')\n", (340, 393), False, 'from django.urls import path, re_path\n'), ((399, 450), 'django.urls.path', 'path', (['"""cost"""', 'dashboard_cost'], {'name': '"""dashboard_cost"""'}), "('cost', dashboard_cost, name='dashboard_cost')\n", (403, 450), False, 'from django.urls import path, re_path\n')]