2019-04-02 16:36:41 -04:00
|
|
|
"""
|
|
|
|
WSGI config for archivebox project.
|
|
|
|
|
|
|
|
It exposes the WSGI callable as a module-level variable named ``application``.
|
|
|
|
|
|
|
|
For more information on this file, see
|
|
|
|
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
|
|
|
|
"""
|
|
|
|
|
2024-10-04 16:08:57 -07:00
|
|
|
import archivebox
|
|
|
|
from archivebox.config.legacy import setup_django
|
2021-02-16 04:16:51 -05:00
|
|
|
setup_django(in_memory_db=False, check_db=True)
|
2019-04-02 16:36:41 -04:00
|
|
|
|
2021-02-16 04:16:51 -05:00
|
|
|
from django.core.wsgi import get_wsgi_application
|
2019-04-02 16:36:41 -04:00
|
|
|
|
|
|
|
application = get_wsgi_application()
|