trigger abx.pm.hook.ready from core.AppConfig.ready

This commit is contained in:
Nick Sweeting 2024-10-21 01:31:02 -07:00
parent dd40f252ed
commit 7a6f1f36d2
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -1,14 +1,12 @@
__package__ = 'archivebox.config'
import os
import sys
import shutil
import tempfile
from typing import Dict, Optional
from pathlib import Path
from rich import print
from pydantic import Field, field_validator, computed_field, model_validator
from pydantic import Field, field_validator, computed_field
from django.utils.crypto import get_random_string
from abx.archivebox.base_configset import BaseConfigSet

View file

@ -12,6 +12,8 @@ class CoreConfig(AppConfig):
"""Register the archivebox.core.admin_site as the main django admin site"""
from core.admin_site import register_admin_site
register_admin_site()
abx.pm.hook.ready()