mirror of
https://github.com/aykhans/series-robot-web.git
synced 2025-09-08 07:20:44 +00:00
added gunicorn
This commit is contained in:
@@ -16,7 +16,10 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_URL = '/django_static/'
|
||||
STATIC_ROOT = [
|
||||
BASE_DIR / 'django_static'
|
||||
]
|
||||
STATICFILES_DIRS = [
|
||||
BASE_DIR / 'static'
|
||||
BASE_DIR / 'django_static/static'
|
||||
]
|
@@ -1,16 +1,7 @@
|
||||
"""
|
||||
WSGI config for config 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/4.1/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.production')
|
||||
|
||||
application = get_wsgi_application()
|
||||
|
Reference in New Issue
Block a user