From 73f4139d8f155cc991fda918cbd631b33bffbafd Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Tue, 10 Dec 2024 10:34:35 -0500 Subject: [PATCH] edit(dash): reword feedback field name --- .../migrations/0088_alter_pset_feedback.py | 21 +++++++++++++++++++ dashboard/models.py | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 dashboard/migrations/0088_alter_pset_feedback.py diff --git a/dashboard/migrations/0088_alter_pset_feedback.py b/dashboard/migrations/0088_alter_pset_feedback.py new file mode 100644 index 00000000..0359ee54 --- /dev/null +++ b/dashboard/migrations/0088_alter_pset_feedback.py @@ -0,0 +1,21 @@ +# Generated by Django 5.1.4 on 2024-12-10 15:34 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("dashboard", "0087_alter_pset_unique_together"), + ] + + operations = [ + migrations.AlterField( + model_name="pset", + name="feedback", + field=models.TextField( + blank=True, + help_text="Any feedback about the unit", + verbose_name="Feedback on unit, worth [1♣]", + ), + ), + ] diff --git a/dashboard/models.py b/dashboard/models.py index a5a267f5..6ac42031 100644 --- a/dashboard/models.py +++ b/dashboard/models.py @@ -171,8 +171,8 @@ class PSet(models.Model): default=True, help_text="Whether to count this for leveling up" ) feedback = models.TextField( - verbose_name="Feedback on problem set, worth [1♣]", - help_text="Any other feedback about the problem set", + verbose_name="Feedback on unit, worth [1♣]", + help_text="Any feedback about the unit", blank=True, ) next_unit_to_unlock = models.ForeignKey(