mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	small fixes
This commit is contained in:
		
							parent
							
								
									6d7a6e7297
								
							
						
					
					
						commit
						e59696efd4
					
				@ -72,11 +72,11 @@ def binaries_check(app_configs, **kwargs):
 | 
				
			|||||||
@register()
 | 
					@register()
 | 
				
			||||||
def debug_mode_check(app_configs, **kwargs):
 | 
					def debug_mode_check(app_configs, **kwargs):
 | 
				
			||||||
    if settings.DEBUG:
 | 
					    if settings.DEBUG:
 | 
				
			||||||
        return [Warning("DEBUG mode is enabled. Disable Debug mode. "
 | 
					        return [Warning(
 | 
				
			||||||
                        "This is a serious security "
 | 
					            "DEBUG mode is enabled. Disable Debug mode. This is a serious "
 | 
				
			||||||
                        "issue, since it puts security overides in place which"
 | 
					            "security issue, since it puts security overides in place which "
 | 
				
			||||||
                        "are meant to be only used during development. This"
 | 
					            "are meant to be only used during development. This "
 | 
				
			||||||
                        "also means that paperless will tell anyone various"
 | 
					            "also means that paperless will tell anyone various "
 | 
				
			||||||
                        "debugging information when something goes wrong.")]
 | 
					            "debugging information when something goes wrong.")]
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
        return []
 | 
					        return []
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +1,5 @@
 | 
				
			|||||||
from django.db import models
 | 
					from django.db import models
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Create your models here.
 | 
					 | 
				
			||||||
from django.db import models
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
import documents.models as document_models
 | 
					import documents.models as document_models
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user