summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'python/gentoo_main/settings.py.conf')
-rw-r--r--python/gentoo_main/settings.py.conf37
1 files changed, 17 insertions, 20 deletions
diff --git a/python/gentoo_main/settings.py.conf b/python/gentoo_main/settings.py.conf
index 77f7621..f6847ce 100644
--- a/python/gentoo_main/settings.py.conf
+++ b/python/gentoo_main/settings.py.conf
@@ -1,36 +1,36 @@
import os
ROOT_PATH = os.path.dirname(__file__)
-# Django settings for tinderbox project.
+# Django settings for tinderbox-cluster project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
- # ('Magnus Granberg', 'zorry@ume.nu'),
+ # ('Magnus Granberg', 'zorry@gentoo.org'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
- 'ENGINE': 'mysql.connector.django', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'www_zobcs', # Or path to database file if using sqlite3.
- 'USER': 'www_zobcs', # Not used with sqlite3.
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'gentoo-www', # Or path to database file if using sqlite3.
+ 'USER': 'tbc_www', # Not used with sqlite3.
'PASSWORD': 'fooo', # Not used with sqlite3.
- 'HOST': '192.168.0.5', # Set to empty string for localhost. 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.
},
'zobcs': {
- 'ENGINE': 'mysql.connector.django', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': 'zobcs', # Or path to database file if using sqlite3.
- 'USER': 'zobcs', # Not used with sqlite3.
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'tbc', # Or path to database file if using sqlite3.
+ 'USER': 'tbc', # Not used with sqlite3.
'PASSWORD': 'fooooo.', # Not used with sqlite3.
- 'HOST': '192.168.0.5', # Set to empty string for localhost. 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.
}
}
-DATABASE_ROUTERS = ['zobcs.router.ZobcsRouter']
+DATABASE_ROUTERS = ['tbc_www.router.TBCRouter']
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
@@ -71,7 +71,7 @@ STATIC_ROOT = os.path.join(ROOT_PATH, '../../static/')
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"
-STATIC_URL = 'http://127.0.0.1/static/'
+STATIC_URL = '/static/'
# Additional locations of static files
STATICFILES_DIRS = (
@@ -106,16 +106,16 @@ MIDDLEWARE_CLASSES = (
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
-ROOT_URLCONF = 'tinderbox.urls'
+ROOT_URLCONF = 'tbc_www.urls'
# Python dotted path to the WSGI application used by Django's runserver.
-WSGI_APPLICATION = 'tinderbox.wsgi.application'
+WSGI_APPLICATION = 'gentoo_main.wsgi.application'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
- os.path.join(ROOT_PATH, '../zobcs/templates/'),
+ os.path.join(ROOT_PATH, '../templates/'),
)
INSTALLED_APPS = (
@@ -129,7 +129,8 @@ INSTALLED_APPS = (
# 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
- 'zobcs',
+ 'tbc_www',
+ 'gentoo_www',
)
# A sample logging configuration. The only tangible logging
@@ -160,7 +161,3 @@ LOGGING = {
},
}
}
-LOGIN_REDIRECT_URL='/'
-BUGZILLA_USER='fooooo@gooo.org'
-BUGZILLA_PASS='password'
-BUGZILLA_URL='https://bugs.gentoo.org/xmlrpc.cgi'