Opened 13 years ago

Last modified 13 years ago

#16377 closed Cleanup/optimization

"Conditionally disabling actions" documentation needs updating — at Initial Version

Reported by: pgullekson@… Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The docs in question are:
https://docs.djangoproject.com/en/1.3/ref/contrib/admin/actions/#conditionally-enabling-or-disabling-actions

The suggestion is to use del actionsdelete_selected, which worked fine in Django 1.2. However, because of changes made to django.contrib.admin.options:get_actions, in the case that IS_POPUP_VAR==True, this del statement will result in an exception. Need a try/except or something.

Change History (0)

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