Better HN
topnewbestaskshowjobs
Log inSign up

wimfeijen

1 karma · joined Jan 22, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

Zachary, today I was thinking along the same lines and I really really like your proposal!

How do you propose object-based views to expand beyond the generic cases in order to handle for example multiple forms, or hiding a field from a form and then adding that (for example request.user) after form validation, before save , or add some additional logic to a detail view?

In my opinion, IDS['slug'] would be neater than ids.SLUG

And now for something completely different: An other idea of mine which keeps going around in my head is having addable forms, so you can do total_form = profile_form + company_form and easily validate etc. What do you think?