problems setting up Django - ValueError: Empty Module name
I got this error because of a non-existent Django app name listed in settings.py, which, in our case, was the empty string:
INSTALLED_APPS = (...'')
Removing that one line solved the problem.
It looks like you don't have your database configured right. Check your settings.py and make sure you have a valid database ENGINE defined:
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': '', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty string for default. Not used with sqlite3. }}
You probably want django.db.backends.sqlite3
? And set a NAME for it.
Update:
You have an extra period in ENGINE. Change it to 'django.db.backends.sqlite3'. Hope that helps.