-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DefaultRouter root view should use namespaced view names if needed. #2351
Comments
The API root view can inspect the incoming request, determine the namespace if there is one on the request object, and modify the view names accordingly if so. |
That sounds pretty badass, I think that would work. Do you think it could also be added to the HyperlinkedRelatedField (I'm not sure if that is correct behavior)? I wonder if that is too magical. |
Note to self: Ensure this doesn't conflict with namespaced versioning. |
Closed via efa5942. |
Add support for the root API view to use appropriately namespaced view names. Won't need any changes to the router API, just an implementation detail.
Refs #2333, #2350.
The text was updated successfully, but these errors were encountered: