mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-29 13:08:02 +00:00
Removed mysqldb from settings
This commit is contained in:
@@ -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"
|
||||
}
|
||||
"""
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user