From 476bba7bab269d909858406b6749f9d8bd4041af Mon Sep 17 00:00:00 2001 From: phillybroadbent Date: Tue, 28 Feb 2023 14:07:27 +0000 Subject: [PATCH] Edited label for approved by machine fund status --- lowfat/migrations/0158_auto_20230228_1404.py | 23 ++++++++++++++++++++ lowfat/models/fund.py | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 lowfat/migrations/0158_auto_20230228_1404.py diff --git a/lowfat/migrations/0158_auto_20230228_1404.py b/lowfat/migrations/0158_auto_20230228_1404.py new file mode 100644 index 00000000..650fe1f0 --- /dev/null +++ b/lowfat/migrations/0158_auto_20230228_1404.py @@ -0,0 +1,23 @@ +# Generated by Django 3.2.15 on 2023-02-28 14:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('lowfat', '0157_auto_20230118_1648'), + ] + + operations = [ + migrations.AlterField( + model_name='fund', + name='status', + field=models.CharField(choices=[('U', 'Unprocessed'), ('P', 'Processing'), ('A', 'Approved'), ('M', 'Approved by machine'), ('R', 'Rejected'), ('F', 'Archived'), ('C', 'Cancelled'), ('X', 'Remove')], default='U', max_length=1), + ), + migrations.AlterField( + model_name='historicalfund', + name='status', + field=models.CharField(choices=[('U', 'Unprocessed'), ('P', 'Processing'), ('A', 'Approved'), ('M', 'Approved by machine'), ('R', 'Rejected'), ('F', 'Archived'), ('C', 'Cancelled'), ('X', 'Remove')], default='U', max_length=1), + ), + ] diff --git a/lowfat/models/fund.py b/lowfat/models/fund.py index edbfdbcd..eaf55049 100644 --- a/lowfat/models/fund.py +++ b/lowfat/models/fund.py @@ -43,7 +43,7 @@ ('U', 'Unprocessed'), # Initial status ('P', 'Processing'), # When someone was assigned to review the request ('A', 'Approved'), # Fund was approved. Funds are reserved. - ('M', 'Approved'), # Fund was approved by machine. Funds are reserved. + ('M', 'Approved by machine'), # Fund was approved by machine. Funds are reserved. ('R', 'Rejected'), # Fund was rejected. ('F', 'Archived'), # Approved funds with all claims and blog posts were processed. No funds are reserved. ('C', 'Cancelled'), # When the fellow decided to cancel their request.