ArchiveBox/archivebox/core/wsgi.py
2021-02-16 16:26:48 -05:00

16 lines
407 B
Python

"""
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/
"""
from archivebox.config import setup_django
setup_django(in_memory_db=False, check_db=True)
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()