FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 957f5935 authored by Dr Catherine Pitt's avatar Dr Catherine Pitt
Browse files

Improve comment

parent bf3645e7
No related branches found
No related tags found
No related merge requests found
......@@ -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"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment