improve dicom uploading
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Generated by Django 4.1.4 on 2023-10-23 08:53
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('longs', '0008_alter_longseriesimage_series'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='longseries',
|
||||
name='created_at',
|
||||
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='longseries',
|
||||
name='updated_at',
|
||||
field=models.DateTimeField(auto_now=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 4.1.4 on 2023-10-23 09:00
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('longs', '0009_longseries_created_at_longseries_updated_at'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='longseries',
|
||||
old_name='created_at',
|
||||
new_name='created_date',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='longseries',
|
||||
old_name='updated_at',
|
||||
new_name='modified_date',
|
||||
),
|
||||
]
|
||||
@@ -317,7 +317,7 @@
|
||||
{{ form.media }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h2>Add Series</h2>
|
||||
<h2>Series Form</h2>
|
||||
<!-- <a href="{% url 'longs:long_create_defaults' %}">Edit defaults</a> -->
|
||||
This form will create a image set that can be associated with a long question. If the question has already been created it can be linked below.
|
||||
<form action="" method="post" enctype="multipart/form-data" id="long-form">
|
||||
|
||||
Reference in New Issue
Block a user