We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In django urls, when using routers as follows the code XML renders fine at the api root
router = routers.DefaultRouter() router.register(r'users', views.UserViewSet) router.register(r'review', views.ReviewViewSet)
However when using routers which contain a / the render fails at the api root.
router = routers.DefaultRouter() router.register(r'api/users', views.UserViewSet) router.register(r'api/review', views.ReviewViewSet)
Is there any reasoning to why this happens?
The text was updated successfully, but these errors were encountered:
@PhoenixVII had the same issue
Sorry, something went wrong.
@Haaroon - I'm sorry for the delayed response on this.
If you'd still like this looked at, please:
Thanks
No branches or pull requests
In django urls, when using routers as follows the code XML renders fine at the api root
However when using routers which contain a / the render fails at the api root.
Is there any reasoning to why this happens?
The text was updated successfully, but these errors were encountered: