mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 10:37:12 -04:00 
			
		
		
		
	only load channels app if DEBUG is enabled; its only purpose is to monkey-patch the runserver command.
This commit is contained in:
		
							parent
							
								
									43c729568b
								
							
						
					
					
						commit
						3d0a52c25f
					
				| @ -102,10 +102,11 @@ INSTALLED_APPS = [ | ||||
| 
 | ||||
|     "django_q", | ||||
| 
 | ||||
|     "channels", | ||||
| 
 | ||||
| ] + env_apps | ||||
| 
 | ||||
| if DEBUG: | ||||
|     INSTALLED_APPS.append("channels") | ||||
| 
 | ||||
| REST_FRAMEWORK = { | ||||
|     'DEFAULT_AUTHENTICATION_CLASSES': [ | ||||
|         'rest_framework.authentication.BasicAuthentication', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user