mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 15:27:53 +10:00
use full dotted paths for all archivebox imports, add migrations and more fixes
This commit is contained in:
@@ -5,8 +5,12 @@ from django.apps import AppConfig
|
||||
|
||||
class CoreConfig(AppConfig):
|
||||
name = 'archivebox.core'
|
||||
label = 'core'
|
||||
|
||||
def ready(self):
|
||||
"""Register the archivebox.core.admin_site as the main django admin site"""
|
||||
from archivebox.core.admin_site import register_admin_site
|
||||
register_admin_site()
|
||||
|
||||
# Import models to register state machines with the registry
|
||||
from archivebox.core import models # noqa: F401
|
||||
|
||||
Reference in New Issue
Block a user