Skip to content
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

Multiple URLs for the same model #16

Open
landswellsong opened this issue May 5, 2017 · 0 comments
Open

Multiple URLs for the same model #16

landswellsong opened this issue May 5, 2017 · 0 comments
Labels

Comments

@landswellsong
Copy link
Member

As per this code the view_name is constructed from the model name, but in some cases the same model may be shared across several views. This in turn breaks the HyperlinkedRelatedField serializer because it picks the wrong URL up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants