mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00

Some checks are pending
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
20 lines
440 B
Python
20 lines
440 B
Python
__package__ = 'archivebox.core'
|
|
|
|
from django.apps import AppConfig
|
|
|
|
import archivebox
|
|
|
|
|
|
class CoreConfig(AppConfig):
|
|
name = 'core'
|
|
|
|
def ready(self):
|
|
"""Register the archivebox.core.admin_site as the main django admin site"""
|
|
from django.conf import settings
|
|
archivebox.pm.hook.ready(settings=settings)
|
|
|
|
from core.admin_site import register_admin_site
|
|
register_admin_site()
|
|
|
|
|
|
|