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

Admin renderer urls #5988

merged 3 commits into from Jul 6, 2018


Copy link

@rpkilby rpkilby commented May 15, 2018

Resolves #3338 - AdminRenderer will now attempt to reverse a result's detail view URL and set that as a default if no URL is present. Additionally, the detail link/chevron will be disabled if the result has no URL, and it's column size has been set to 1, so as to consume as little space as possible.

@rpkilby rpkilby added this to the 3.9 Release milestone May 15, 2018
Attempts to reverse the result's detail view URL.
@carltongibson carltongibson merged commit f89cc06 into encode:master Jul 6, 2018
1 check passed
@rpkilby rpkilby deleted the admin-renderer-urls branch Jul 6, 2018
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
* Make admin detail link have small width

* Disable admin detail link when no URL

* Add 'AdminRenderer.get_result_url'

Attempts to reverse the result's detail view URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants