mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00
fix old wsgi.py
This commit is contained in:
parent
d8443e104f
commit
f76bdc4332
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ For more information on this file, see
|
||||||
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
|
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import archivebox
|
||||||
from archivebox.config import setup_django
|
from archivebox.config.legacy import setup_django
|
||||||
setup_django(in_memory_db=False, check_db=True)
|
setup_django(in_memory_db=False, check_db=True)
|
||||||
|
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue