1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-29 09:10:13 +02:00

hide builtin delete button

This commit is contained in:
Nick Sweeting
2020-07-28 05:51:02 -04:00
parent e68f6aaa76
commit ece6d43078
2 changed files with 2 additions and 1 deletions

View File

@@ -149,3 +149,4 @@ class ArchiveBoxAdmin(admin.AdminSite):
admin.site = ArchiveBoxAdmin() admin.site = ArchiveBoxAdmin()
admin.site.register(get_user_model()) admin.site.register(get_user_model())
admin.site.register(Snapshot, SnapshotAdmin) admin.site.register(Snapshot, SnapshotAdmin)
admin.site.disable_action('delete_selected')