code: def get_object(self, queryset=None):
          ''' Get the guest list from the URL '''
          return get_object_or_404(
              GuestList.objects.filter(id=self.kwargs.get('guestlist_id'))f get_object(self, queryset=None):
          ''' Get the guest list from the URL '''
          return get_object_or_404(
              GuestList.objects.filter(id=self.kwargs.get('guestlist_id')))
docs: Get the guest list from the URL