I am trying to upgrade a project from Django 1.6 to 1.7. I get the following error:
[Thu Oct 09 14:16:41 2014] [error] [client 95.79.172.156] mod_wsgi (pid=1
INSTALLED_APPS
Had an missing comma in the array, that caused the error for me.
I had a similar (the same?) isssue when upgrading to Django 1.7. In may case, it was enough to update the wsgi file: replace
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
with
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
It could be any reason. In my case, I updated my python version outside of my virtual environment, but my virtualenv was still the old version, that makes the error. I deleted the env and build it again using the newer version, and it worked.
Just reinstall Django using the command line, not in Pycharm helped to me.
In my case SEcret_key was commented by mistake in settings.py
In my case, I forgot to add one of my sub-applications inside INSTALLED_APPS
.
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'basketball',
'basketball.area',
'basketball.game',
'basketball.player',
]