From d7ceb2d84cae5791b90d5651ad67ba5045fc0357 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 16 Oct 2023 10:37:54 -0400 Subject: notes: added "asked for" category --- .../0003_alter_note_plan_alter_note_status.py | 23 ++++++++++++++++++++++ app/notes/models.py | 9 +++++---- 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 app/notes/migrations/0003_alter_note_plan_alter_note_status.py 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 = ( -- cgit v1.2.3-70-g09d2