Django Tastypie not Updating Resource with ManyToManyField
===

I can't seem to update a resource with a ManyToManyField with PUT or PATCH.  When I submit this request:

    curl --dump-header - -H "Content-Type: application/json" -X PUT --data '{"uuid":"blah","pass_token":"blah","favorites": ["/api/v1/organizations/1/"]}' http://localhost:8000/api/v1/devices/2/

I get:


    HTTP/1.0 400 BAD REQUEST
    Date: Wed, 11 Jul 2012 22:21:15 GMT
    Server: WSGIServer/0.1 Python/2.7.2
    Content-Type: application/json; charset=utf-8
    
    {"favorites": ["\"/api/v1/organizations/1/\" is not a valid value for a primary key."]}


Here are my resources:


    class OrganizationResource(ModelResource):
        parent_org = fields.ForeignKey('self','parent_org',null=True, full=True,blank=True)
    
        class Meta:
            allowed_methods = ['get',]
            authentication = APIAuthentication()
            fields = ['name','org_type','parent_org']
            filtering = {
                'name': ALL,
                'org_type': ALL,
                'parent_org': ALL_WITH_RELATIONS,
            }
            ordering = ['name',]
            queryset = Organization.objects.all()
            resource_name = 'organizations'
    
    class DeviceResource(ModelResource):
        favorites = fields.ManyToManyField(OrganizationResource,'favorites',null=True,full=True)
        
        class Meta:
            allowed_methods = ['get','patch','post','put',]
            authentication = APIAuthentication()
            authorization = APIAuthorization()
            fields = ['uuid',]
            filtering = {
                'uuid': ALL,
            }
            queryset = Device.objects.all()
            resource_name = 'devices'
            validation = FormValidation(form_class=DeviceRegistrationForm)


This is very similar to http://stackoverflow.com/questions/9413176/django-tastypie-manytomany-field-post-json-error, but I am not using a through attribute on my ManyToMany relationship.