Re: New Manipulators and Validation Aware models.

2006-08-22 Thread Andrew Durdin
Brantley Harris wrote: > > Here is a sample view using a default CreateManipulator: > def create_poll(request): > try: > m = Poll.CreateManipulator() > poll = m.process(request) > return HttpResponseRedirect('/poll/%d/' % poll.id) > except Form, form: > retu

New Manipulators and Validation Aware models.

2006-08-21 Thread Brantley Harris
I have built a proposal for a new Manipulator system. Here are some of the benefits of this new system: - Custom form views become very simple, and intuitive. - Validation aware models are harnessed. - Forms are raised as an exception. This allows the writer to assume the data is correct the wh