Repository navigation
Admin renderer urls - #5988
Merged
Merged
Admin renderer urls#5988
Conversation
rpkilby
force-pushed
the
admin-renderer-urls
branch
from
June 23, 2018 13:56
dac42b6 to
90da44c
Compare
Attempts to reverse the result's detail view URL.
rpkilby
force-pushed
the
admin-renderer-urls
branch
from
June 23, 2018 14:09
90da44c to
8393908
Compare
carltongibson
approved these changes
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #3338 -
AdminRendererwill 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.