lots of further updates
This commit is contained in:
@@ -69,6 +69,8 @@ from django.contrib.contenttypes.fields import GenericRelation
|
||||
|
||||
from django.core.validators import MaxValueValidator, MinValueValidator
|
||||
|
||||
from loguru import logger
|
||||
|
||||
|
||||
image_storage = FileSystemStorage(
|
||||
# Physical file location ROOT
|
||||
@@ -685,6 +687,13 @@ class Series(SeriesBase):
|
||||
|
||||
self.save()
|
||||
|
||||
def get_base_template(self):
|
||||
return "atlas/base.html"
|
||||
|
||||
def get_link_headers(self):
|
||||
return "atlas/series_headers.html"
|
||||
|
||||
|
||||
|
||||
class CaseCollection(ExamOrCollectionGenericBase):
|
||||
app_name = "atlas"
|
||||
@@ -1099,6 +1108,7 @@ class UncategorisedDicom(models.Model):
|
||||
|
||||
return duplicate
|
||||
|
||||
@logger.catch()
|
||||
def save(self, *args, **kwargs):
|
||||
"""Override save method to add image hash"""
|
||||
if self.image:
|
||||
|
||||
Reference in New Issue
Block a user