Skip to content

Augment Object Detail Links#1

Open
alsoicode wants to merge 1 commit into
jsoa:admin_url_reversefrom
alsoicode:admin_url_reverse
Open

Augment Object Detail Links#1
alsoicode wants to merge 1 commit into
jsoa:admin_url_reversefrom
alsoicode:admin_url_reverse

Conversation

@alsoicode

Copy link
Copy Markdown

The purpose of this pull request is to augment the object details returned from a generic lookup so that there are two links:

  • One to edit the object
  • One to view the object via it's absolute_url if present

Work

  • Added absolute_url for object to values returned in generic_lookup view.
  • Refactored JavaScript links and text for object retrieved to display the model, unicode representation of the object, a link to edit the object and a link to the absolute url of the object.
  • Minor PEP8 fixes

Result

advocacy article - google chrome_004

Refactored JavaScript links and text for object retrieved to display the model, unicode representation of the object, a link to edit the object and a link to the absolute url of the object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant