equal
deleted
inserted
replaced
46 import soc.views.helper.templates |
46 import soc.views.helper.templates |
47 import soc.views.helper.widgets |
47 import soc.views.helper.widgets |
48 import soc.views.out_of_band |
48 import soc.views.out_of_band |
49 |
49 |
50 |
50 |
51 class SettingsValidationForm(helper.forms.DbModelForm): |
51 class SettingsValidationForm(helper.forms.BaseForm): |
52 """Django form displayed when creating or editing Settings. |
52 """Django form displayed when creating or editing Settings. |
53 |
53 |
54 This form includes validation functions for Settings fields. |
54 This form includes validation functions for Settings fields. |
55 """ |
55 """ |
56 |
56 |
79 |
79 |
80 #: list of model fields which will *not* be gathered by the form |
80 #: list of model fields which will *not* be gathered by the form |
81 exclude = ['inheritance_line', 'home'] |
81 exclude = ['inheritance_line', 'home'] |
82 |
82 |
83 |
83 |
84 class DocSelectForm(helper.forms.DbModelForm): |
84 class DocSelectForm(helper.forms.BaseForm): |
85 """Django form displayed to select a Document. |
85 """Django form displayed to select a Document. |
86 """ |
86 """ |
87 |
87 |
88 # TODO(tlarsen): partial_path will be a hard-coded read-only |
88 # TODO(tlarsen): partial_path will be a hard-coded read-only |
89 # field for some (most?) User Roles |
89 # field for some (most?) User Roles |