speed up series form update

This commit is contained in:
Ross
2023-12-18 13:07:56 +00:00
parent a0ed2aa499
commit a222cbc781
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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(
+1
View File
@@ -3,6 +3,7 @@
{% block content %}
<a href="{% url 'atlas:series_update' pk=series.pk %}" title="Edit the Series">Edit</a>
<a href="{% url 'atlas:series_delete' pk=series.pk %}" title="Delete the Series">Delete</a>
{% if request.user.is_superuser %}
<a href="{% url 'admin:atlas_series_change' series.id %}" title="Edit the Series using the admin interface">Admin Edit</a>
{% endif %}