-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Handle reversal of non-API view_name in HyperLinkedRelatedField #2724
Handle reversal of non-API view_name in HyperLinkedRelatedField #2724
Conversation
I wonder if we should handle this in a more generic way - eg in the reverse function... https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/reverse.py#L18 Wrap the |
Yeah, I think you are right. I'll try do do that. |
Moved the fallback logic to |
Excellent! |
Stupidly I managed to miss this for the 3.1.1 release - apologies. |
…i-reversal Handle reversal of non-API view_name in HyperLinkedRelatedField
This fixes #2711