encode / django-vanilla-views

Beautifully simple class-based views.
http://django-vanilla-views.org/
BSD 2-Clause "Simplified" License
985 stars 74 forks source link

form + listview example #19

Closed highpost closed 10 years ago

highpost commented 10 years ago

I'm in the target audience for django-vanilla-views. I'm relatively new to Django and I've found that CBVs are far too complex. I can use CBVs to create basic views. But trying to combine, say, a ModelForm with a ListView is to create a search form is just too hard. I've tried. There are no adequate examples and trying to assemble the code fragments that are available into something working requires a depth of knowledge of CBVs and mixins.

With DVV, it's much simpler to create basic views. But I feel that to take the next step and attempt to combine views requires experience with CBVs to use as an analogy, which is certainly not what you intend.

So that's basically a plea for some intermediate examples. A ModelForm + a ListView would be a great place to start.

Thanks.

highpost commented 10 years ago

I'm actually making progress on this (I needed to learn more about the template language) and when I'm done I'll create a pull request with an example.

tomchristie commented 10 years ago

Sure thing. :+1: