Re: DEP Pre-posal: Re-Designing Django Forms

2018-01-31 Thread Collin Anderson
I personally use the (undocumented?) formfield() method, which takes the model defaults and lets you override things. I think it's pretty elegant, though maybe it could use some less verbose syntax (maybe have a forms.ModelDefault(label='Note') that does this for you). class NoteModalForm(forms.Mo

DEP Pre-posal: Re-Designing Django Forms

2018-01-31 Thread Robert Roskam
Hey All, Something I've regularly run into as a challenge is the implementation of Django forms work well in the simple use cases, but as the use case grows in complexity, Django forms become more difficult to work with. I know that's a super general statement, but here's the simplest complex