Opened 4 years ago

Closed 4 years ago

#34150 closed New feature (wontfix)

Add "View on site" links to generic common model URL and also to common url for app.

Reported by: Joakim Hove Owned by: nobody
Component: contrib.admin Version: 4.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

Background: for worklows working alternately with the Django Admin and the normal site, the "View on site" link displayed when changing an object in the admin is a very convenient way to get back to the site.

Suggestion: add two additional "View on site" links which will take you back to a view of all instances of a model and back to an overview of an entire application.

If this sounds like an interesting feature I am happy to (try to ...) create a patch.

Change History (1)

comment:1 by Mariusz Felisiak, 4 years ago

Resolution: → wontfix
Status: new → closed
Summary: Admin: add "View on site" links to generic common model URL and also to common url for APP → Add "View on site" links to generic common model URL and also to common url for app.

Thanks for this patch :+1: however Django Admin is not a ​universal tool for building an app and adding a new option to the ModelAdmin is always controversial (we already have many of them). Please first start a discussion on the DevelopersMailingList, where you'll reach a wider audience, and ​follow the guidelines with regards to requesting features.

Also, it's already possible to add a second link by ​overriding the "object-tools-items" block in the "change_form.html" admin template.

Note: See TracTickets for help on using tickets.
Back to Top