ArchiveBox/archivebox/core/wsgi.py

17 lines
407 B
Python
Raw Normal View History

2019-04-02 20:36:41 +00: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/
"""
2021-02-16 09:16:51 +00:00
from archivebox.config import setup_django
setup_django(in_memory_db=False, check_db=True)
2019-04-02 20:36:41 +00:00
2021-02-16 09:16:51 +00:00
from django.core.wsgi import get_wsgi_application
2019-04-02 20:36:41 +00:00
application = get_wsgi_application()