1 Answer
1

I'm pretty sure, that you're posting user resources as comma-separated id's. That's not the way tastypie handles related resources by default. You should post a list of urls, pointing to the related resources, in your case - smth like '/api/v1/users/1'.

Alternatively you can change hydrate_m2m to hydrate_users. Generic hydrate_m2m iterates over every field in you resource and tries to convert it from url-string to an instance of related resource (that's why you get error about the "provided URL").
The code for hydrate_users might look like this: