From a222cbc781643e786af50ea40dc9dafede52c873 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 18 Dec 2023 13:07:56 +0000 Subject: [PATCH] speed up series form update --- atlas/forms.py | 2 +- atlas/templates/atlas/series.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/atlas/forms.py b/atlas/forms.py index e9c3405a..6d13f348 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -228,7 +228,7 @@ class SeriesForm(ModelForm): class Meta: model = Series - exclude = ["author", "series_instance_uid"] + exclude = ["author", "series_instance_uid", "dicom_tags_ohif", "replaced", "image_md5_hash", "is_dicom"] widgets = { "examination": autocomplete.ModelSelect2( diff --git a/atlas/templates/atlas/series.html b/atlas/templates/atlas/series.html index 25bdbad2..3588a2aa 100755 --- a/atlas/templates/atlas/series.html +++ b/atlas/templates/atlas/series.html @@ -3,6 +3,7 @@ {% block content %} Edit + Delete {% if request.user.is_superuser %} Admin Edit {% endif %}