mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
add register_admin to abx hookspec
This commit is contained in:
parent
4634cd6c8e
commit
a7c19a5da0
2 changed files with 8 additions and 0 deletions
|
@ -96,3 +96,6 @@ def register_checks():
|
|||
"""register any django system checks"""
|
||||
pm.hook.register_checks()
|
||||
|
||||
def register_admin(admin_site):
|
||||
"""register any django admin models/views with the main django admin site instance"""
|
||||
pm.hook.register_admin(admin_site=admin_site)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue