summaryrefslogtreecommitdiff
path: root/forums/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'forums/settings.py')
-rw-r--r--forums/settings.py31
1 files changed, 5 insertions, 26 deletions
diff --git a/forums/settings.py b/forums/settings.py
index 7b758e0..88133d2 100644
--- a/forums/settings.py
+++ b/forums/settings.py
@@ -19,31 +19,13 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'forums', # Or path to database file if using sqlite3.
+ 'NAME': 'forum', # Or path to database file if using sqlite3.
# The following settings are not used with sqlite3:
'USER': db_user,
'PASSWORD': db_pass,
'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
- },
- 'spoken': {
- 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'spoken', # Or path to database file if using sqlite3.
- # The following settings are not used with sqlite3:
- 'USER': db_user,
- 'PASSWORD': db_pass,
- 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
- 'PORT': '', # Set to empty string for default.
- },
- 'cdeep': {
- 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'CDEEP', # Or path to database file if using sqlite3.
- # The following settings are not used with sqlite3:
- 'USER': db_user,
- 'PASSWORD': db_pass,
- 'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
- 'PORT': '', # Set to empty string for default.
- },
+ }
}
# Hosts/domain names that are valid for this site; required if DEBUG is False
@@ -151,15 +133,15 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
- #'django.contrib.admin',
+ 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'website',
'widget_tweaks',
- 'spoken_auth',
+ #'spoken_auth',
'compressor',
'debug_toolbar',
- 'migrate_spoken',
+ #'migrate_spoken',
)
# A sample logging configuration. The only tangible logging
@@ -191,9 +173,6 @@ LOGGING = {
}
}
-AUTH_USER_MODEL = 'spoken_auth.Users'
-AUTHENTICATION_BACKENDS = ( 'spoken_auth.backends.DrupalAuthBackend', )
-DATABASE_ROUTERS = ['spoken_auth.routers.DrupalAuthRouter']
TEMPLATE_CONTEXT_PROCESSORS += (
'django.core.context_processors.request',
'website.context_processors.admin_processor',