mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	- To avoid redefining migrate manage command is added new application configuration class which emit post_migration signal. This signal require models module inside application and defined AppConfig Instance as signal sender. Documentation here: https://docs.djangoproject.com/en/1.8/ref/signals/#post-migrate. - Add AppConf subclass to __init__ zerver app file to make apllication load it by default. Fixes #1084.
		
			
				
	
	
		
			3 lines
		
	
	
		
			127 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			127 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Load AppConfig app subclass by default on django applications initialization
 | |
| default_app_config = 'zerver.apps.ZerverConfig'
 |