finally get rid of config/legacy in favor of configfile.py and django.py

This commit is contained in:
Nick Sweeting 2024-10-21 03:06:19 -07:00
parent b3107ab830
commit 312e40b95b
No known key found for this signature in database
8 changed files with 428 additions and 546 deletions

View file

@ -7,8 +7,9 @@ For more information on this file, see
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
"""
import archivebox
from archivebox.config.legacy import setup_django
import archivebox # noqa
from archivebox.config.django import setup_django
setup_django(in_memory_db=False, check_db=True)
from django.core.wsgi import get_wsgi_application