A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Change default storage_type to unencrypted
Daniel Quinn5643d89270fe
diff --git a/src/documents/migrations/0021_auto_20180527_1653.py b/src/documents/migrations/0021_auto_20180527_1653.pynew file mode 100644index 000000000..61d120406--- /dev/null+++ b/src/documents/migrations/0021_auto_20180527_1653.py@@ -0,0 +1,20 @@+# -*- coding: utf-8 -*-+# Generated by Django 1.11.13 on 2018-05-27 16:53+from __future__ import unicode_literals++from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ('documents', '0020_document_storage_type'),+ ]++ operations = [+ migrations.AlterField(+ model_name='document',+ name='storage_type',+ field=models.CharField(choices=[('unencrypted', 'Unencrypted'), ('gpg', 'Encrypted with GNU Privacy Guard')], default='unencrypted', editable=False, max_length=11),+ ),+ ]diff --git a/src/documents/models.py b/src/documents/models.pyindex 8e072a1cc..5c8c804a4 100644--- a/src/documents/models.py+++ b/src/documents/models.py@@ -239,7 +239,7 @@ class Document(models.Model):storage_type = models.CharField(max_length=11,choices=STORAGE_TYPES,- default=STORAGE_TYPE_GPG,+ default=STORAGE_TYPE_UNENCRYPTED,editable=False)