mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
feat(people): Make relationship questions / choices sortable
resolve #7
This commit is contained in:
1 parent
65f46a66f1
commit
e1df999108
3 files changed
+71
-5
No files matched your search
@@ -0,0 +1,31 @@
|
||||
# Generated by Django 2.2.10 on 2020-02-20 10:08
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('people', '0005_user_one_person'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='relationshipquestion',
|
||||
options={'ordering': ['order', 'text']},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='relationshipquestionchoice',
|
||||
options={'ordering': ['order', 'text']},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='relationshipquestion',
|
||||
name='order',
|
||||
field=models.SmallIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='relationshipquestionchoice',
|
||||
name='order',
|
||||
field=models.SmallIntegerField(default=0),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user