Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7k
Handle reversal of non-API view_name in HyperLinkedRelatedField#2724
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 ourterms of service andprivacy 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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
lovelydinosaur commentedMar 19, 2015
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 |
delinhabit commentedMar 19, 2015
Yeah, I think you are right. I'll try do do that. |
delinhabit commentedMar 19, 2015
Moved the fallback logic to |
lovelydinosaur commentedMar 20, 2015
Excellent! |
lovelydinosaur commentedMar 23, 2015
Stupidly I managed to miss this for the 3.1.1 release - apologies. |
…i-reversalHandle reversal of non-API view_name in HyperLinkedRelatedField
Thisfixes#2711