mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	format code
This commit is contained in:
		
				
					committed by
					
						
						Trenton Holmes
					
				
			
			
				
	
			
			
			
						parent
						
							4194b248b9
						
					
				
				
					commit
					e3cc5c3013
				
			@@ -475,7 +475,7 @@ class Consumer(LoggingMixin):
 | 
				
			|||||||
                created=create_date,
 | 
					                created=create_date,
 | 
				
			||||||
                modified=create_date,
 | 
					                modified=create_date,
 | 
				
			||||||
                storage_type=storage_type,
 | 
					                storage_type=storage_type,
 | 
				
			||||||
                original_filename=self.filename
 | 
					                original_filename=self.filename,
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.apply_overrides(document)
 | 
					        self.apply_overrides(document)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,13 +6,20 @@ from django.db import migrations, models
 | 
				
			|||||||
class Migration(migrations.Migration):
 | 
					class Migration(migrations.Migration):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dependencies = [
 | 
					    dependencies = [
 | 
				
			||||||
        ('documents', '1022_paperlesstask'),
 | 
					        ("documents", "1022_paperlesstask"),
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    operations = [
 | 
					    operations = [
 | 
				
			||||||
        migrations.AddField(
 | 
					        migrations.AddField(
 | 
				
			||||||
            model_name='document',
 | 
					            model_name="document",
 | 
				
			||||||
            name='original_filename',
 | 
					            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'),
 | 
					            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,
 | 
					        default=None,
 | 
				
			||||||
        unique=False,
 | 
					        unique=False,
 | 
				
			||||||
        null=True,
 | 
					        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(
 | 
					    archive_serial_number = models.IntegerField(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user