old_contents: from django.urls import path, include
  from push_notifications.api.rest_framework import (
      WebPushDeviceAuthorizedViewSet,
      APNSDeviceAuthorizedViewSet,
      GCMDeviceAuthorizedViewSet,
  )
  from rest_framework.routers import DefaultRouter
  
  from . import views
  
  router = DefaultRouter()
  router.register(r"webpush", WebPushDeviceAuthorizedViewSet)
  router.register(r"apple", APNSDeviceAuthorizedViewSet)
  router.register(r"apple", GCMDeviceAuthorizedViewSet)
  
  urlpatterns = [
      path("api/device/", include(router.urls)),
      path(
          "api/notifications/subscriptions/",
          views.ListCreateDestroySubscriptionAPIView.as_view(),
      ),
  ]
  
new_contents: from django.urls import path, include
  from push_notifications.api.rest_framework import (
      WebPushDeviceAuthorizedViewSet,
      APNSDeviceAuthorizedViewSet,
      GCMDeviceAuthorizedViewSet,
  )
  from rest_framework.routers import DefaultRouter
  
  from . import views
  
  router = DefaultRouter()
  router.register(r"webpush", WebPushDeviceAuthorizedViewSet)
  router.register(r"apple", APNSDeviceAuthorizedViewSet)
  router.register(r"android", GCMDeviceAuthorizedViewSet)
  
  urlpatterns = [
      path("api/device/", include(router.urls)),
      path(
          "api/notifications/subscriptions/",
          views.ListCreateDestroySubscriptionAPIView.as_view(),
      ),
  ]
  
subject: Update agir/notifications/urls.py