-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I was testing this app with django 2.1.8 and got this error when trying to check the admin:
File "/var/virtualenv/project/lib/python3.6/site-packages/automated_logging/admin.py", line 19, in get_actions
del actions["delete_selected"]
KeyError: 'delete_selected'An easy fix would be:
def get_actions(self, request):
actions = super(ReadOnlyAdminMixin, self).get_actions(request)
actions.pop('delete_selected', None)
return actionsReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working