docs: def initial(self, request, *args, **kwargs):
          """
          Custom initial method:
              * ensure node exists and store it in an instance attribute
              * change queryset to return only devices of current node
          """
          super(NodeDeviceList, self).initial(request, *args, **kwargs)
  
          # ensure node exists
          try:
              self.node = Node.objects.published()\
                          .accessible_to(request.user)\
                          .get(slug=self.kwargs.get('slug', None))
          except Node.DoesNotExist:
              raise Http404(_('Node not found.'))
  
          # check permissions on node (for device creation)
          self.check_object_permissions(request, self.node)
  
          # return only devices of current node
          self.queryset = Device.objects.filter(node_id=self.node.id)\
                          .accessible_to(self.request.user)\
                          .select_related('node')