.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 3.2.8 on 2021-11-23 22:40
|
||||
|
||||
from django.db import migrations, models
|
||||
import sortedm2m.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('atlas', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='case',
|
||||
name='title',
|
||||
field=models.CharField(default='', help_text='Title of the case', max_length=255),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='case',
|
||||
name='series',
|
||||
field=sortedm2m.fields.SortedManyToManyField(help_text=None, related_name='case', to='atlas.Series'),
|
||||
),
|
||||
]
|
||||
@@ -81,6 +81,7 @@ class Case(models.Model):
|
||||
VASC = 'VA', _('Vascular')
|
||||
HAEMONC = 'HA', _('Haemotology and Oncology')
|
||||
|
||||
title = models.CharField(max_length=255, help_text="Title of the case", default="")
|
||||
# author = models.ForeignKey('auth.User', on_delete=models.CASCADE)
|
||||
# image = models.ImageField()
|
||||
description = models.TextField(
|
||||
|
||||
Reference in New Issue
Block a user