mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-28 03:46:06 -05:00 
			
		
		
		
	Use a TextField for the storage path field (#7967)
This commit is contained in:
		| @@ -27,7 +27,7 @@ class Migration(migrations.Migration): | |||||||
|         migrations.AlterField( |         migrations.AlterField( | ||||||
|             model_name="storagepath", |             model_name="storagepath", | ||||||
|             name="path", |             name="path", | ||||||
|             field=models.CharField(max_length=2048, verbose_name="path"), |             field=models.TextField(verbose_name="path"), | ||||||
|         ), |         ), | ||||||
|         migrations.RunPython( |         migrations.RunPython( | ||||||
|             convert_from_format_to_template, |             convert_from_format_to_template, | ||||||
|   | |||||||
| @@ -125,9 +125,8 @@ class DocumentType(MatchingModel): | |||||||
|  |  | ||||||
|  |  | ||||||
| class StoragePath(MatchingModel): | class StoragePath(MatchingModel): | ||||||
|     path = models.CharField( |     path = models.TextField( | ||||||
|         _("path"), |         _("path"), | ||||||
|         max_length=2048, |  | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
|     class Meta(MatchingModel.Meta): |     class Meta(MatchingModel.Meta): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Trenton H
					Trenton H