Removed mysqldb from settings

This commit is contained in:
Fergal Moran
2013-08-06 13:00:34 +01:00
parent fab85c7e02
commit ade40f7d58
2 changed files with 1 additions and 10 deletions

View File

@@ -1,5 +1,4 @@
import os
from dss import settings
DEBUG = True
if os.name == 'posix':
@@ -26,7 +25,7 @@ JS_SETTINGS = {
'LIVE_STREAM_PORT' : "8000",
'LIVE_STREAM_MOUNT' : "mp3",
'DEFAULT_AUDIO_VOLUME' : "50",
'SM_DEBUG_MODE' : settings.DEBUG,
'SM_DEBUG_MODE' : DEBUG,
'LIVE_STREAM_INFO_URL' : "radio.deepsouthsounds.com:8000/mp3"
}
"""

View File

@@ -25,14 +25,6 @@ AUTH_PROFILE_MODULE = 'spa.UserProfile'
ALLOWED_HOSTS = ['*'] #localsettings.ALLOWED_HOSTS if hasattr(localsettings, 'ALLOWED_HOSTS') else []
DATABASES = {
'mysql': {
'ENGINE': 'django.db.backends.mysql',
'NAME': localsettings.DATABASE_NAME if hasattr(localsettings, 'DATABASE_NAME') else 'deepsouthsounds',
'USER': localsettings.DATABASE_USER if hasattr(localsettings, 'DATABASE_USER') else 'deepsouthsounds',
'PASSWORD': localsettings.DATABASE_PASSWORD if hasattr(localsettings, 'DATABASE_PASSWORD') else '',
'HOST': localsettings.DATABASE_HOST if hasattr(localsettings, 'DATABASE_HOST') else '',
'PORT': '',
},
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'deepsouthsounds',