mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	format code
This commit is contained in:
		 Gwyn Hannay
					Gwyn Hannay
				
			
				
					committed by
					
						 Trenton Holmes
						Trenton Holmes
					
				
			
			
				
	
			
			
			 Trenton Holmes
						Trenton Holmes
					
				
			
						parent
						
							4194b248b9
						
					
				
				
					commit
					e3cc5c3013
				
			| @@ -475,7 +475,7 @@ class Consumer(LoggingMixin): | ||||
|                 created=create_date, | ||||
|                 modified=create_date, | ||||
|                 storage_type=storage_type, | ||||
|                 original_filename=self.filename | ||||
|                 original_filename=self.filename, | ||||
|             ) | ||||
|  | ||||
|         self.apply_overrides(document) | ||||
|   | ||||
| @@ -6,13 +6,20 @@ from django.db import migrations, models | ||||
| class Migration(migrations.Migration): | ||||
|  | ||||
|     dependencies = [ | ||||
|         ('documents', '1022_paperlesstask'), | ||||
|         ("documents", "1022_paperlesstask"), | ||||
|     ] | ||||
|  | ||||
|     operations = [ | ||||
|         migrations.AddField( | ||||
|             model_name='document', | ||||
|             name='original_filename', | ||||
|             field=models.CharField(default=None, editable=False, help_text='The original name of the file when it was uploaded', max_length=1024, null=True, verbose_name='original filename'), | ||||
|             model_name="document", | ||||
|             name="original_filename", | ||||
|             field=models.CharField( | ||||
|                 default=None, | ||||
|                 editable=False, | ||||
|                 help_text="The original name of the file when it was uploaded", | ||||
|                 max_length=1024, | ||||
|                 null=True, | ||||
|                 verbose_name="original filename", | ||||
|             ), | ||||
|         ), | ||||
|     ] | ||||
|   | ||||
| @@ -221,7 +221,7 @@ class Document(models.Model): | ||||
|         default=None, | ||||
|         unique=False, | ||||
|         null=True, | ||||
|         help_text=_("The original name of the file when it was uploaded") | ||||
|         help_text=_("The original name of the file when it was uploaded"), | ||||
|     ) | ||||
|  | ||||
|     archive_serial_number = models.IntegerField( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user