Able to load local_settings for production environment.
This commit is contained in:
		
							parent
							
								
									bfcfb54d1b
								
							
						
					
					
						commit
						6b7618cc54
					
				
					 3 changed files with 9 additions and 2 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							|  | @ -4,3 +4,4 @@ _build/ | |||
| .DS_Store | ||||
| dev.db | ||||
| .coverage | ||||
| pinaxcon/site_media/ | ||||
|  | @ -233,3 +233,9 @@ NOSE_ARGS = [ | |||
|     '--with-coverage', | ||||
|     '--cover-package=registrasion.controllers,registrasion.models', | ||||
| ] | ||||
| 
 | ||||
| # Production settings have their own file to override stuff here | ||||
| try: | ||||
|     from local_settings import * | ||||
| except ImportError: | ||||
|     pass | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ pinax-boxes==2.1.2 | |||
| django-nose==1.4.3 | ||||
| coverage==4.0.3 | ||||
| 
 | ||||
| # Registrasion | ||||
| # Install via setuptools rather than pip | ||||
| # Registrasion + Symposion | ||||
| # Install via pip repo cloned locally | ||||
| #registrasion==0.1.1 | ||||
| #https://github.com/lca2017/symposion/tarball/master#egg=symposion | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Scott Bragg
						Scott Bragg