A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
remove colorhash (this will be done client side)
jonaswinkler95fe803bf648
diff --git a/Pipfile b/Pipfileindex 0e72eb1c0..29a91ece3 100644--- a/Pipfile+++ b/Pipfile@@ -55,7 +55,6 @@ uvloop = "~=0.14.0"# TODO: keep an eye on piwheel builds and update this once available (https://www.piwheels.org/project/cryptography/)cryptography = "~=3.3.2""pdfminer.six" = "*"-colorhash = "*"[dev-packages]coveralls = "*"diff --git a/src/documents/models.py b/src/documents/models.pyindex 9c5b14806..abbcc124e 100755--- a/src/documents/models.py+++ b/src/documents/models.py@@ -8,7 +8,6 @@ from collections import OrderedDictimport pathvalidateimport dateutil.parser-from colorhash import ColorHashfrom django.conf import settingsfrom django.contrib.auth.models import Userfrom django.db import models@@ -93,15 +92,6 @@ class Tag(MatchingModel):verbose_name = _("tag")verbose_name_plural = _("tags")- def save(self, *args, **kwargs):- if self.colour == "":- self.colour = ColorHash(- self.name,- lightness=(0.35, 0.45, 0.55, 0.65),- saturation=(0.2, 0.3, 0.4, 0.5)).hex-- super().save(*args, **kwargs)-class DocumentType(MatchingModel):