settings: Allow localhost in debug mode.
This commit is contained in:
		
							parent
							
								
									e724cfe593
								
							
						
					
					
						commit
						b79a3617f0
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -27,6 +27,8 @@ ROOT_URLCONF = 'conservancy.urls' | |||
| FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org' | ||||
| 
 | ||||
| ALLOWED_HOSTS = [ 'www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org',  u'104.130.70.210' ] | ||||
| if DEBUG: | ||||
|     ALLOWED_HOSTS.append('localhost') | ||||
| 
 | ||||
| REDIRECT_TABLE = { | ||||
|     'www.sf-conservancy.org': 'sfconservancy.org', | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith