mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 07:34:27 -04:00
fix import errors
This commit is contained in:
parent
51fe4c38c2
commit
2a1645ba27
2 changed files with 2 additions and 4 deletions
|
@ -14,7 +14,7 @@ from admin_data_views.typing import TableContext, ItemContext
|
|||
from admin_data_views.utils import render_with_table_view, render_with_item_view, ItemLink
|
||||
|
||||
from archivebox.config import CONSTANTS
|
||||
from archivebox.util import parse_date
|
||||
from archivebox.misc.util import parse_date
|
||||
|
||||
|
||||
def obj_to_yaml(obj: Any, indent: int=0) -> str:
|
||||
|
|
|
@ -7,9 +7,7 @@ For more information on this file, see
|
|||
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from archivebox.config import setup_django
|
||||
from archivebox.config.legacy import setup_django
|
||||
|
||||
setup_django(in_memory_db=False, check_db=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue