From 957f593516b1e9c6df130e17651de311e8202983 Mon Sep 17 00:00:00 2001
From: Catherine Pitt <cen1001@cam.ac.uk>
Date: Tue, 29 Aug 2023 12:17:11 +0100
Subject: [PATCH] Improve comment

---
 chemistry_starters/views/form_generation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chemistry_starters/views/form_generation.py b/chemistry_starters/views/form_generation.py
index 72caf32..b58deb7 100644
--- a/chemistry_starters/views/form_generation.py
+++ b/chemistry_starters/views/form_generation.py
@@ -43,7 +43,7 @@ def create_forms():
     get_forms_form.form_type.choices = choices
     # get_hids' null_option's value is an int type by default, but in this case we
     # are coercing the value to a string as it comes back from the browser
-    # so that always fails validation; we have to set a string type.
+    # so that always fails validation; we have to set a null value that is a string type.
     get_forms_form.post_category_id.choices = database.get_hids(
         "visitor_type", null_option="", null_value="v-0"
     )
-- 
GitLab