add date to uploads

This commit is contained in:
Ross
2023-10-24 22:56:43 +01:00
parent cdf7bc26f4
commit 227fa44e7e
4 changed files with 26 additions and 4 deletions
+2
View File
@@ -822,6 +822,8 @@ class UncategorisedDicom(models.Model):
image_md5_hash = models.CharField(max_length=32, null=True, blank=True)
created_date = models.DateTimeField(default=timezone.now)
def check_for_duplicates(self, image_hash):
duplicate = None