kopia lustrzana https://github.com/wagtail/wagtail
				
				
				
			Added ElasticSearch backend to tests settings
							rodzic
							
								
									576eb0830e
								
							
						
					
					
						commit
						28a77c6071
					
				
							
								
								
									
										11
									
								
								runtests.py
								
								
								
								
							
							
						
						
									
										11
									
								
								runtests.py
								
								
								
								
							| 
						 | 
				
			
			@ -62,7 +62,16 @@ if not settings.configured:
 | 
			
		|||
            'wagtail.wagtailsearch',
 | 
			
		||||
            'wagtail.wagtailredirects',
 | 
			
		||||
            'wagtail.tests',
 | 
			
		||||
        ]
 | 
			
		||||
        ],
 | 
			
		||||
        WAGTAILSEARCH_BACKENDS={
 | 
			
		||||
            'default': {
 | 
			
		||||
                'BACKEND': 'wagtail.wagtailsearch.backends.db.DBSearch',
 | 
			
		||||
            },
 | 
			
		||||
            'elasticsearch': {
 | 
			
		||||
                'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
 | 
			
		||||
                'RUN_TESTS': True,
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue