Added default init code for celery
This commit is contained in:
		
					parent
					
						
							
								bd2edf599a
							
						
					
				
			
			
				commit
				
					
						d6d0b9c8c0
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -1,5 +1,7 @@ | ||||||
| from __future__ import absolute_import | from __future__ import absolute_import, unicode_literals | ||||||
| 
 | 
 | ||||||
| # This will make sure the app is always imported when | # This will make sure the app is always imported when | ||||||
| # Django starts so that shared_task will use this app. | # Django starts so that shared_task will use this app. | ||||||
| from .celery import app as celery_app | from .celery import app as celery_app | ||||||
|  | 
 | ||||||
|  | __all__ = ['celery_app'] | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue