mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	License clarification
This commit is contained in:
		| @@ -1,17 +1,14 @@ | ||||
| """ | ||||
| Source: | ||||
|     https://gist.github.com/bmispelon/ad5a2c333443b3a1d051 | ||||
|  | ||||
| License: | ||||
|     MIT | ||||
|     Copyright (c) 2016 Baptiste Mispelon | ||||
| """ | ||||
| import sys | ||||
|  | ||||
| from django.core.management.commands.loaddata import Command as LoadDataCommand | ||||
|  | ||||
|  | ||||
| class Command(LoadDataCommand): | ||||
|     """ | ||||
|     Allow the loading of data from standard in.  Sourced originally from: | ||||
|     https://gist.github.com/bmispelon/ad5a2c333443b3a1d051 (MIT licensed) | ||||
|     """ | ||||
|  | ||||
|     def parse_name(self, fixture_name): | ||||
|         self.compression_formats['stdin'] = (lambda x, y: sys.stdin, None) | ||||
|         if fixture_name == '-': | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Quinn
					Daniel Quinn