mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 00:15:35 -04:00 
			
		
		
		
	Update dbs
This commit is contained in:
		
							parent
							
								
									821986613e
								
							
						
					
					
						commit
						89dedd6b87
					
				| @ -75,8 +75,11 @@ WSGI_APPLICATION = 'bikeshop.wsgi.application' | ||||
| 
 | ||||
| DATABASES = { | ||||
|     'default': { | ||||
|         'ENGINE': 'django.db.backends.sqlite3', | ||||
|         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), | ||||
|         'ENGINE': 'django.db.backends.postgresql', | ||||
|         'NAME': 'postgres', | ||||
|         'USER': 'postgres', | ||||
|         'HOST': 'db', | ||||
|         'PORT': '5432', | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -10,16 +10,6 @@ DEBUG = True | ||||
| 
 | ||||
| ALLOWED_HOSTS = [] | ||||
| 
 | ||||
| DATABASES = { | ||||
|     'default': { | ||||
|         'ENGINE': 'django.db.backends.postgresql', | ||||
|         'NAME': 'postgres', | ||||
|         'USER': 'postgres', | ||||
|         'HOST': 'workstand_db_1', | ||||
|         'PORT': '5432', | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| if 'test' in sys.argv or 'test_coverage' in sys.argv: #Covers regular testing and django-coverage | ||||
|     DATABASES['default']['ENGINE'] = 'django.db.backends.sqlite3' | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user