.
This commit is contained in:
@@ -453,6 +453,7 @@ class RapidImage(models.Model):
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
"""Override save method to add image hash"""
|
||||
# TODO: consider moving to signal to reuse across apps
|
||||
if self.image:
|
||||
# Try and read the file as a dicom
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user