mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
finally get rid of config/legacy in favor of configfile.py and django.py
This commit is contained in:
parent
b3107ab830
commit
312e40b95b
8 changed files with 428 additions and 546 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue