fix questions
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Generated by Django 3.1.3 on 2020-11-26 17:30
|
||||
|
||||
import anatomy.models
|
||||
import django.core.files.storage
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('anatomy', '0004_auto_20201123_1619'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='structure',
|
||||
old_name='bodypart',
|
||||
new_name='structure',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='exam',
|
||||
name='recreate_json',
|
||||
),
|
||||
#migrations.AddField(
|
||||
# model_name='anatomyquestion',
|
||||
# name='open_access',
|
||||
# field=models.BooleanField(default=True, help_text='If an question should be freely available to browse'),
|
||||
#),
|
||||
migrations.AlterField(
|
||||
model_name='anatomyquestion',
|
||||
name='image',
|
||||
field=models.ImageField(storage=django.core.files.storage.FileSystemStorage(base_url='http://161.35.163.87//media/anatomy/', location='/home/ross/scripts/sites/rad/media//anatomy/'), upload_to=anatomy.models.image_directory_path),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='exam',
|
||||
name='exam_questions',
|
||||
field=models.ManyToManyField(blank='true', related_name='exams', to='anatomy.AnatomyQuestion'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user