Revert "Switched to using posgresql for db."

Add MySQL deps
This commit is contained in:
Sachi King 2017-03-05 15:55:59 +11:00
parent 26ac9aab76
commit cfbf547dd9
2 changed files with 5 additions and 13 deletions

View file

@ -6,20 +6,12 @@ PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__)) PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
BASE_DIR = PACKAGE_ROOT BASE_DIR = PACKAGE_ROOT
DEBUG = False #bool(int(os.environ.get("DEBUG", "1"))) DEBUG = True #bool(int(os.environ.get("DEBUG", "1")))
DATABASES = { DATABASES = {
#"default": { "default": {
# "ENGINE": "django.db.backends.sqlite3", "ENGINE": "django.db.backends.sqlite3",
# "NAME": os.path.join(PROJECT_ROOT, "dev.db"), "NAME": os.path.join(PROJECT_ROOT, "dev.db"),
#}
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'pycon2017_uat',
'USER': 'pycon2017_uat',
'PASSWORD': 'Eishuqu5johZee3G',
'HOST': '127.0.0.1',
'PORT': '',
} }
} }

View file

@ -15,7 +15,7 @@ raven==5.27.0
django-debug-toolbar==1.6 django-debug-toolbar==1.6
# database # database
psycopg2==2.6.2 mysqlclient>=1.3.3
#Wiki #Wiki
wiki==0.1.2 wiki==0.1.2