Browse Source

Need settings.

master
Nick Sergeant 5 years ago
parent
commit
932e239833
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      wsgi.py

+ 5
- 0
wsgi.py View File

@@ -1,5 +1,10 @@
from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise

import os


os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

application = get_wsgi_application()
application = DjangoWhiteNoise(application)

Loading…
Cancel
Save