Revert "Switched to using posgresql for db."
Add MySQL deps
This commit is contained in:
		
							parent
							
								
									26ac9aab76
								
							
						
					
					
						commit
						cfbf547dd9
					
				
					 2 changed files with 5 additions and 13 deletions
				
			
		|  | @ -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"), | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sachi King
						Sachi King