You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem while using this package is that nested_router.registry does not contain the parent resource in the name, so the API will end up being
/api/v1/nameservers
Yeah. I agree with you that would be better to not need to add the .urls together. That would also fix the root listing of resources.
Yet I could not figure out a clean way to do it after poking around DRF sourcecode for a while.
If you get a solution for this, that would be very welcome 👍
Hey, thanks for this nice package!
In our code we use this pattern:
The problem while using this package is that nested_router.registry does not contain the parent resource in the name, so the API will end up being
/api/v1/nameservers
instead of
/api/v1/domain/<domain_pk>/nameservers
My hack-ish solution is this one:
But I would very much prefer if I could avoid this.
Thanks!
The text was updated successfully, but these errors were encountered: