# import MySQLdb followed by import pkg_resources complains
# /usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/python2.6 is being added to sys.path
importpkg_resources
except:
pass
DEBUG=False
DEBUG=False
TEMPLATE_DEBUG=DEBUG
TEMPLATE_DEBUG=DEBUG
...
@@ -40,13 +50,14 @@ XMPP_ALERT_CHANNELS = [
...
@@ -40,13 +50,14 @@ XMPP_ALERT_CHANNELS = [
'test_grb',
'test_grb',
]
]
DATABASE_ENGINE='mysql'
DATABASES={
DATABASE_NAME='gracedb'
'default':{
DATABASE_USER='gracedb'
'NAME':'gracedb',
DATABASE_PASSWORD='redrum4x'
'ENGINE':'django.db.backends.mysql',
DATABASE_HOST=''# Set to empty string for localhost.
'USER':'gracedb',
DATABASE_PORT=''# Set to empty string for default.
# import MySQLdb followed by import pkg_resources complains
# /usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module _mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but /usr/lib/pymodules/python2.6 is being added to sys.path
importpkg_resources
except:
pass
DEBUG=True
DEBUG=True
TEMPLATE_DEBUG=DEBUG
TEMPLATE_DEBUG=DEBUG
...
@@ -27,14 +38,15 @@ XMPP_ALERT_CHANNELS = [
...
@@ -27,14 +38,15 @@ XMPP_ALERT_CHANNELS = [
'test_cwb',
'test_cwb',
'test_lowmass',
'test_lowmass',
]
]
DATABASE_ENGINE='mysql'
DATABASES={
DATABASE_NAME='gracedb'
'default':{
DATABASE_USER='gracedb'
'NAME':'gracedb',
DATABASE_PASSWORD='redrum4x'
'ENGINE':'django.db.backends.mysql',
DATABASE_HOST=''# Set to empty string for localhost.
'USER':'gracedb',
DATABASE_PORT=''# Set to empty string for default.