Pi2-FGABreja/FGABrejaWeb

View on GitHub
FGABreja/monitoring/urls.py

Summary

Maintainability
A
0 mins
Test Coverage
from django.conf.urls import url
from monitoring.views import (get_temperature_average, HomeView,
                              NewProcessView, MonitoringView,
                              get_actual_process)


urlpatterns = [
    url(r'^temperature/average/$', get_temperature_average,
        name='temperature_average'),
    url(r'^process/actual/$', get_actual_process,
        name='actual_process'),
    url(r'^$', HomeView.as_view(), name='home'),
    url(r'^monitoring/$', MonitoringView.as_view(), name='monitoring'),
    url(r'^process/new$', NewProcessView.as_view(), name='new_process'),
]