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:
@@ -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')
|
||||||
|
Reference in New Issue
Block a user