-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8694uffy4: a very simple ordering integer can now be applies to each …
…meta task and each meta task value
- Loading branch information
1 parent
56d59c7
commit e5da396
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...pp/api/api/migrations/0080_alter_metatask_options_alter_metataskvalue_options_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 5.0.6 on 2024-07-10 16:09 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0079_merge_20240701_2259'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='metatask', | ||
options={'ordering': ['ordering', 'name']}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='metataskvalue', | ||
options={'ordering': ['ordering', 'name']}, | ||
), | ||
migrations.AddField( | ||
model_name='metatask', | ||
name='ordering', | ||
field=models.PositiveSmallIntegerField(default=0, help_text='the order in which the meta task will appear in the Trainer Annotation project screen'), | ||
), | ||
migrations.AddField( | ||
model_name='metataskvalue', | ||
name='ordering', | ||
field=models.PositiveSmallIntegerField(default=0, help_text='the order in which the meta task value will appear in the Trainer Annotation project screen'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters