[patch] newforms: I'd like to have a group functionality in forms
|Reported by:||ivan||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Description (last modified by adrian)
I use my custom group fields in my class forms.
I set an attribute in my form class:
class myform(forms): field1 = ... field2 = ... group_myfields = ['field1','field2']
field1 and field2 are fields sets in my custom form class.
I can retrive html output, writing this:
and retrive only fileds listed in group_myfields.
Change History (7)
Changed 10 years ago by ivan
comment:1 Changed 10 years ago by ivan
- Summary changed from I'd like to have a group functionality in forms. to [patch] newforms: I'd like to have a group functionality in forms
Changed 10 years ago by Honza Král <Honza.Kral@…>
comment:3 Changed 10 years ago by adrian
- Triage Stage changed from Unreviewed to Design decision needed