new plugin loading system

This commit is contained in:
Nick Sweeting
2024-08-23 02:02:34 -07:00
parent 34389e5e7c
commit 5fe3edd79a
28 changed files with 450 additions and 874 deletions

14
archivebox/pkgs/apps.py Normal file
View File

@@ -0,0 +1,14 @@
__package__ = 'archivebox.pkgs'
from django.apps import AppConfig
class PkgsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'pkgs'
def ready(self):
from .settings import LOADED_DEPENDENCIES
# print(LOADED_DEPENDENCIES)