from django.conf.urls import url
from django.urls import include
from rest_framework.routers import SimpleRouter

from stations import views

router = SimpleRouter()
router.register(r"stations", views.StationViewSet)
router.register(r"sites", views.SiteViewSet)

urlpatterns = [
    url(r"^", include(router.urls)),
    url(r"^measurements/summary?", views.MeasurementSummaryView.as_view()),
]

dfb8e470335e8efa3ad393cc480811e259945a92
<mask token>

<mask token>
router.register('stations', views.StationViewSet)
router.register('sites', views.SiteViewSet)
<mask token>

<mask token>
router = SimpleRouter()
router.register('stations', views.StationViewSet)
router.register('sites', views.SiteViewSet)
urlpatterns = [url('^', include(router.urls)), url('^measurements/summary?',
    views.MeasurementSummaryView.as_view())]

from django.conf.urls import url
from django.urls import include
from rest_framework.routers import SimpleRouter
from stations import views
router = SimpleRouter()
router.register('stations', views.StationViewSet)
router.register('sites', views.SiteViewSet)
urlpatterns = [url('^', include(router.urls)), url('^measurements/summary?',
    views.MeasurementSummaryView.as_view())]

from django.conf.urls import url
from django.urls import include
from rest_framework.routers import SimpleRouter

from stations import views

router = SimpleRouter()
router.register(r"stations", views.StationViewSet)
router.register(r"sites", views.SiteViewSet)

urlpatterns = [
    url(r"^", include(router.urls)),
    url(r"^measurements/summary?", views.MeasurementSummaryView.as_view()),
]
