diff options
author | luxagraf <sng@luxagraf.net> | 2023-10-16 10:37:54 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-10-16 10:37:54 -0400 |
commit | d7ceb2d84cae5791b90d5651ad67ba5045fc0357 (patch) | |
tree | 436ae09629ee30df0b2f640739929fba8b5882f3 /app | |
parent | 9608b2965652e4d6ffb90ad38ff8a6b0701b8880 (diff) |
notes: added "asked for" category
Diffstat (limited to 'app')
-rw-r--r-- | app/notes/migrations/0003_alter_note_plan_alter_note_status.py | 23 | ||||
-rw-r--r-- | app/notes/models.py | 9 |
2 files changed, 28 insertions, 4 deletions
diff --git a/app/notes/migrations/0003_alter_note_plan_alter_note_status.py b/app/notes/migrations/0003_alter_note_plan_alter_note_status.py new file mode 100644 index 0000000..04b467b --- /dev/null +++ b/app/notes/migrations/0003_alter_note_plan_alter_note_status.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.2 on 2023-10-16 14:36 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('notes', '0002_alter_note_options_note_plan_alter_note_post'), + ] + + operations = [ + migrations.AlterField( + model_name='note', + name='plan', + field=models.IntegerField(choices=[(0, 'For Guide'), (1, 'Review'), (2, 'Rave/Rant'), (3, 'No Plan')], default=0), + ), + migrations.AlterField( + model_name='note', + name='status', + field=models.IntegerField(choices=[(0, 'Call In'), (1, 'Asked For'), (2, 'Coming'), (3, 'Testing'), (4, 'Done'), (5, 'Live')], default=0), + ), + ] diff --git a/app/notes/models.py b/app/notes/models.py index 7687283..8c30b8d 100644 --- a/app/notes/models.py +++ b/app/notes/models.py @@ -16,10 +16,11 @@ class Note(models.Model): post = models.ForeignKey(Post, on_delete=models.CASCADE, null=True, blank=True) STATUS = ( (0, 'Call In'), - (1, 'Coming'), - (2, 'Testing'), - (3, 'Done'), - (4, 'Live'), + (1, 'Asked For'), + (2, 'Coming'), + (3, 'Testing'), + (4, 'Done'), + (5, 'Live'), ) status = models.IntegerField(choices=STATUS, default=0) PLAN = ( |