From 031b438d5198bc47c044159d148e5ea120cdf7c9 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Mon, 8 Jan 2018 16:37:08 +0000 Subject: [PATCH] add documentation about the category class --- opentech/apply/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opentech/apply/models.py b/opentech/apply/models.py index 59d54bec4..1c7355922 100644 --- a/opentech/apply/models.py +++ b/opentech/apply/models.py @@ -100,6 +100,11 @@ class Option(Orderable): class Category(ClusterableModel): + """Used to manage the global select questions used in most of the application form + Also used in the front end by editors when writing about projects. + + When used in a form: name -> field label and help_text -> help_text + """ name = models.CharField(max_length=255) help_text = models.CharField(max_length=255, blank=True) -- GitLab