Changes between Initial Version and Version 1 of Ticket #16377
- Timestamp:
- Jul 5, 2011, 3:35:36 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16377 – Description
initial v1 2 2 https://docs.djangoproject.com/en/1.3/ref/contrib/admin/actions/#conditionally-enabling-or-disabling-actions 3 3 4 The suggestion is to use del actions['delete_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.4 The suggestion is to use `del actions['delete_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.