I'm trying to do some custom activities in a ModelViewSet 'perform_create',
and I was wondering what the best way to convert request.data URLs into
objects.
for example
{
"Example": "http://localhost:8000/rest/example/30/";,
}
How can I convert the string there into an object without going
Unclear to me exactly what you're asking for - but it seems like you
probably just want a ModelSerializer/ViewSet, and then perhaps doing an
"OPTIONS" API call to the View to get basically what you're looking for.
(But not exactly)
Then - if you need additional customization there - you would t