Skip to content Skip to sidebar Skip to footer

Heroku Django App Crashing

I'm trying to have my app up and running but I keep on getting an application error. When I take a look at my dynos, I get the following message: Billys-MBP:gymmie-test BillyWu$ he

Solution 1:

Does your wsgi file look something like this?

import os

from django.core.wsgi import get_wsgi_application
from django.conf import settings

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

application = get_wsgi_application()

if not settings.DEBUG:
    try:
        from dj_static import Cling
        application = Cling(get_wsgi_application())
    except:
        pass

Post a Comment for "Heroku Django App Crashing"