1
0
Fork 0
mirror of synced 2024-07-03 05:20:52 +12:00
ArchiveBox/archivebox/core/wsgi.py

17 lines
407 B
Python
Raw Normal View History

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