actions and list_editables in popups problematic
IMHO, actions should not be visible in popups. list_editable should also not work, because
- in popups, one is able to select and add elements. changing an element is not possible. so, why is it possible to change elements on the level of a change-list?
- moreover, delete_selected_confirmation doesn ́t handle popups correctly.
Change History
(14)
Resolution: |
→ invalid
|
Status: |
new → closed
|
If you have a design opinion, take it up on django-dev. As fair warning - abstract suggestions aren't going to get much traction unless you're willing to back them up with code.
Resolution: |
invalid
|
Status: |
closed → reopened
|
Triage Stage: |
Unreviewed → Design decision needed
|
Version: |
1.1
|
In light of the recent discussions regarding the state of Django's design, I'm reopening and marking this DDN.
Keywords: |
design_ux added
|
A tip for those who need to hide actions in popups:
class FooAdmin(admin.ModelAdmin):
def get_actions(self, request):
actions = super(ShowInListAdmin, self).get_actions(request)
if request.REQUEST.has_key('pop'): # hide actions in popups
actions.clear()
return actions
Has patch: |
set
|
milestone: |
→ 1.3
|
Owner: |
changed from nobody to Simon Meers
|
Status: |
reopened → new
|
Triage Stage: |
Design decision needed → Accepted
|
Version: |
→ SVN
|
Cc: |
Gonzalo Saavedra added
|
Keywords: |
sprint_dec_2010 added
|
Keywords: |
sprintdec2010 added; sprint_dec_2010 removed
|
Triage Stage: |
Accepted → Ready for checkin
|
Cc: |
sehmaschine@... added
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
(In [15129]) Fixed #11700 -- Stopped admin actions and list_editable fields to show up in popups. Thanks to Simon Meers for the initial patch.
Easy pickings: |
unset
|
Severity: |
→ Normal
|
Type: |
→ Uncategorized
|
UI/UX: |
unset
|