From de07b4208207c594e19d24c53cda24bd0d54fe42 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Sat, 20 Jul 2019 01:25:52 +0000 Subject: [PATCH] gross hack --- ttadmin/users/migrations/0014_auto_20190716_0151.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttadmin/users/migrations/0014_auto_20190716_0151.py b/ttadmin/users/migrations/0014_auto_20190716_0151.py index 5aa9775..c047383 100644 --- a/ttadmin/users/migrations/0014_auto_20190716_0151.py +++ b/ttadmin/users/migrations/0014_auto_20190716_0151.py @@ -8,7 +8,7 @@ def set_state(apps, _): Townie = apps.get_model('users', 'Townie') for townie in Townie.objects.all(): if townie.reviewed: - townie.state = Townie.ACCEPTED + townie.state = '2_accepted' townie.save()