mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix plugin loading and admin config display
This commit is contained in:
parent
d0e3c9502e
commit
8e41aec099
19 changed files with 316 additions and 48 deletions
|
@ -4,9 +4,10 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class SystemPluginConfig(AppConfig):
|
||||
label = "ArchiveBox System"
|
||||
name = "system"
|
||||
class SystemPluginAppConfig(AppConfig):
|
||||
name = "plugins.system"
|
||||
# label = "ArchiveBox System"
|
||||
verbose_name = "Host System Configuration"
|
||||
|
||||
default_auto_field = "django.db.models.AutoField"
|
||||
|
||||
|
@ -15,7 +16,7 @@ class SystemPluginConfig(AppConfig):
|
|||
|
||||
from django.conf import settings
|
||||
|
||||
from .settings import register_plugin_settings
|
||||
from plugins.defaults.settings import register_plugin_settings
|
||||
|
||||
register_plugin_settings(settings, name=self.name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue