diff --git a/archivebox/index/html.py b/archivebox/index/html.py index 4ead04ce857..a62e2c7e386 100644 --- a/archivebox/index/html.py +++ b/archivebox/index/html.py @@ -23,7 +23,6 @@ GIT_SHA, FOOTER_INFO, HTML_INDEX_FILENAME, - setup_django, ) MAIN_INDEX_TEMPLATE = 'main_index.html' @@ -111,7 +110,6 @@ def render_django_template(template: str, context: Mapping[str, str]) -> str: """render a given html template string with the given template content""" from django.template.loader import render_to_string - setup_django(check_db=False) return render_to_string(template, context)