#22295: admin/base.html only shows #user-tools when user is staff
-------------------------------------+-------------------------------------
Reporter: wouter@… | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: master
Component: contrib.admin | Resolution:
Severity: Normal | Triage Stage:
Keywords: user-tools admin | Unreviewed
base template | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Yes, option 2 sounds like a better approach if the goal is simply to hide
this block.
But what about people who extend this template and rely on the current
implementation to hide the block?
Even for small things, it's important to consider backwards compatibility.
--
Ticket URL: <https://code.djangoproject.com/ticket/22295#comment:1>
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/078.cb8ceaabb514a6560a9bde1b405c3774%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.