Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fixt the tags to be optional

Daniel Quinn212752f46ed3
diff --git a/src/documents/migrations/0008_document_file_type.py b/src/documents/migrations/0008_document_file_type.py
index 6d4bd2775..1d542bea7 100644
--- a/src/documents/migrations/0008_document_file_type.py
+++ b/src/documents/migrations/0008_document_file_type.py
@@ -18,4 +18,10 @@ class Migration(migrations.Migration):
field=models.CharField(choices=[('pdf', 'PDF'), ('png', 'PNG'), ('jpg', 'JPG'), ('gif', 'GIF'), ('tiff', 'TIFF')], default='pdf', editable=False, max_length=4),
preserve_default=False,
),
+ migrations.AlterField(
+ model_name='document',
+ name='tags',
+ field=models.ManyToManyField(blank=True, related_name='documents', to='documents.Tag'),
+ ),
]
+