fix wsgi.py

This commit is contained in:
Nick Sweeting 2021-02-16 04:16:51 -05:00
parent 8c2d81c041
commit 87069dd41e

View file

@ -9,8 +9,9 @@ https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
import os
from archivebox.config import setup_django
setup_django(in_memory_db=False, check_db=True)
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'archivebox.settings')
application = get_wsgi_application()