#13749: Link from admin-site to site
------------------------------------+-------------------------------------
Reporter: romankrv | Owner: joelklabo
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: admin url dceu2011 | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
------------------------------------+-------------------------------------
Changes (by bmispelon):
* needs_better_patch: 0 => 1
* easy: 1 => 0
* stage: Ready for checkin => Accepted
Comment:
Hi,
I've had a chance to discuss this with a few people at EuroPython and we
came to the conclusion that another approach is needed.
Create a new attribute on `Adminsite` (maybe call it `site_url`, similar
to `site_header`, `site_title`, etc) which would default to '/' and use
this in the template.
Users could customize this link to be what matches their setup (but the
default should be good enough for the general case) and even disable it if
they want (the template should check if this attribute is set and not show
any link if that's not the case).
I'll remove the `easy pickings` flag because it might be a bit more
complicated to implement it this way.
Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/13749#comment:26>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.42017c29b8c6adcd0aa6af2b292105a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.