Ticket #16377: 16377.2.diff
File 16377.2.diff, 622 bytes (added by , 13 years ago) |
---|
-
docs/ref/contrib/admin/actions.txt
343 343 def get_actions(self, request): 344 344 actions = super(MyModelAdmin, self).get_actions(request) 345 345 if request.user.username[0].upper() != 'J': 346 del actions['delete_selected'] 346 if 'delete_selected' in actions: 347 del actions['delete_selected'] 347 348 return actions 348 349 349 350