settings.py allows local_settings.py to extend settings (used for Raven/Sentry config)
This commit is contained in:
		
							parent
							
								
									2cdb554623
								
							
						
					
					
						commit
						7c5ca8d399
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -264,6 +264,9 @@ NOSE_ARGS = [ | ||||||
| 
 | 
 | ||||||
| # Production settings have their own file to override stuff here | # Production settings have their own file to override stuff here | ||||||
| try: | try: | ||||||
|  |     LOCAL_SETTINGS | ||||||
|  | except NameError: | ||||||
|  |     try: | ||||||
|         from local_settings import * |         from local_settings import * | ||||||
| except ImportError: |     except ImportError: | ||||||
|         pass |         pass | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Scott Bragg
						Scott Bragg