equal
deleted
inserted
replaced
48 class CreateForm(helper.forms.BaseForm): |
48 class CreateForm(helper.forms.BaseForm): |
49 """Django form displayed when Developer creates a Request. |
49 """Django form displayed when Developer creates a Request. |
50 """ |
50 """ |
51 |
51 |
52 class Meta: |
52 class Meta: |
|
53 """Inner Meta class that defines some behavior for the form. |
|
54 """ |
53 model = soc.models.request.Request |
55 model = soc.models.request.Request |
54 |
56 |
55 #: list of model fields which will *not* be gathered by the form |
57 #: list of model fields which will *not* be gathered by the form |
56 exclude = ['scope', 'scope_path', 'link_id', 'role', 'declined'] |
58 exclude = ['scope', 'scope_path', 'link_id', 'role', 'declined'] |
57 |
59 |