Changeset - cfbf547dd916
[Not reviewed]
0 2 0
Sachi King - 7 years ago 2017-03-30 12:53:24
nakato@nakato.io
Revert "Switched to using posgresql for db."

Add MySQL deps
2 files changed with 5 insertions and 13 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -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__))
 
BASE_DIR = PACKAGE_ROOT
 

	
 
DEBUG = False #bool(int(os.environ.get("DEBUG", "1")))
 
DEBUG = True #bool(int(os.environ.get("DEBUG", "1")))
 

	
 
DATABASES = {
 
    #"default": {
 
    #    "ENGINE": "django.db.backends.sqlite3",
 
    #    "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': '',
 
    "default": {
 
        "ENGINE": "django.db.backends.sqlite3",
 
        "NAME": os.path.join(PROJECT_ROOT, "dev.db"),
 
    }
 
}
 

	
requirements.txt
Show inline comments
...
 
@@ -15,7 +15,7 @@ raven==5.27.0
 
django-debug-toolbar==1.6
 

	
 
# database
 
psycopg2==2.6.2
 
mysqlclient>=1.3.3
 

	
 
#Wiki
 
wiki==0.1.2
0 comments (0 inline, 0 general)