Update settings kvůli gimlimu
This commit is contained in:
		
							parent
							
								
									ae31ce7c21
								
							
						
					
					
						commit
						a213f83c5d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -8,10 +8,10 @@ import os.path | ||||||
| # DJANGO_SETTINGS_MODULE=mamweb.settings_ZZZ ./manage.py ... | # DJANGO_SETTINGS_MODULE=mamweb.settings_ZZZ ./manage.py ... | ||||||
| # | # | ||||||
| 
 | 
 | ||||||
| if os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-test/'): | if "mamweb-test" in os.path.abspath(__file__): | ||||||
|     from .settings_test import * |     from .settings_test import * | ||||||
| 
 | 
 | ||||||
| elif os.path.abspath(__file__).startswith('/akce/MaM/WWW/mamweb-prod/'): | elif "mamweb-prod" in os.path.abspath(__file__): | ||||||
|     from .settings_prod import * |     from .settings_prod import * | ||||||
| 
 | 
 | ||||||
| else: | else: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián