Add oruga overhead for "classic" app only, not API
This commit is contained in:
		
							parent
							
								
									362d545f34
								
							
						
					
					
						commit
						358816d9e7
					
				
					 2 changed files with 12 additions and 4 deletions
				
			
		|  | @ -123,6 +123,9 @@ def make_pyramid_config(settings, configure_csrf=True): | |||
|         config.set_root_factory(Root) | ||||
|     else: | ||||
| 
 | ||||
|         # declare this web app of the "classic" variety | ||||
|         settings.setdefault('tailbone.classic', 'true') | ||||
| 
 | ||||
|         # we want the new themes feature! | ||||
|         establish_theme(settings) | ||||
| 
 | ||||
|  | @ -130,6 +133,7 @@ def make_pyramid_config(settings, configure_csrf=True): | |||
|         config = Configurator(settings=settings, root_factory=Root) | ||||
| 
 | ||||
|     # add rattail config directly to registry | ||||
|     # TODO: why on earth do we do this again? | ||||
|     config.registry['rattail_config'] = rattail_config | ||||
| 
 | ||||
|     # configure user authorization / authentication | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar