diff options
author | prashantsinalkar | 2019-02-23 14:25:09 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-02-23 14:25:09 +0530 |
commit | 7202d1dd420bb16b29f18a66e5495749ccf2f42d (patch) | |
tree | 4bcbaa55fdc42c40b8ae25a70ab257eff36996ec | |
parent | 05ba8502aadddab8be37b42fec21459730bc1014 (diff) | |
download | pyfoss-7202d1dd420bb16b29f18a66e5495749ccf2f42d.tar.gz pyfoss-7202d1dd420bb16b29f18a66e5495749ccf2f42d.tar.bz2 pyfoss-7202d1dd420bb16b29f18a66e5495749ccf2f42d.zip |
fixed formating
-rw-r--r-- | pyfoss/settings.py | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/pyfoss/settings.py b/pyfoss/settings.py index fe031fe..8e4c894 100644 --- a/pyfoss/settings.py +++ b/pyfoss/settings.py @@ -79,29 +79,37 @@ WSGI_APPLICATION = 'pyfoss.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'ENGINE': 'django.db.backends.mysql', 'NAME': DB_NAME_DEFAULT, 'USER': DB_USER_DEFAULT, 'PASSWORD': DB_PASS_DEFAULT, 'HOST': DB_HOST_DEFAULT, - 'PORT': DB_PORT_DEFAULT, # Or path to database file if using sqlite3. + 'PORT': DB_PORT_DEFAULT, # Or path to database file if using sqlite3. # Set to empty string for default. }, 'fossee_new': { - 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'ENGINE': 'django.db.backends.mysql', 'NAME': DB_NAME_FOSSEEIN, 'USER': DB_USER_FOSSEEIN, 'PASSWORD': DB_PASS_FOSSEEIN, - 'HOST': DB_HOST_FOSSEEIN, # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. - 'PORT': DB_PORT_FOSSEEIN, # Set to empty string for default. + # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. + 'HOST': DB_HOST_FOSSEEIN, + # Set to empty string for default. + 'PORT': DB_PORT_FOSSEEIN, }, 'tbcpython': { - 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. - 'NAME': DB_NAME_TBC_PYTHON, # Or path to database file if using sqlite3. + # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. + 'ENGINE': 'django.db.backends.mysql', + # Or path to database file if using sqlite3. + 'NAME': DB_NAME_TBC_PYTHON, 'USER': DB_USER_TBC_PYTHON, 'PASSWORD': DB_PASS_TBC_PYTHON, - 'HOST': DB_HOST_TBC_PYTHON, # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. - 'PORT': DB_PORT_TBC_PYTHON, # Set to empty string for default. + # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP. + 'HOST': DB_HOST_TBC_PYTHON, + # Set to empty string for default. + 'PORT': DB_PORT_TBC_PYTHON, } } |