Re: Middleware, exceptions and POST

2009-01-04 Thread Roman Odaisky
Hi, thanks for taking time to provide such a detailed answer. > You can and should split up your code into separate functions however > you like. Form validation can be done in a separate function that > returns a dictionary that is used to update the context of the calling > view, for example. Y

Re: Middleware, exceptions and POST

2009-01-04 Thread Malcolm Tredinnick
On Sun, 2009-01-04 at 12:03 +0200, Roman Odaisky wrote: > Hi everyone, > > I have a (technical) problem with middleware, and also I’d be grateful to > hear > some suggestions about the general workflow. Doubtless all of you are > familiar with a topic as simple as POST handling, and maybe some

Middleware, exceptions and POST

2009-01-04 Thread Roman Odaisky
Hi everyone, I have a (technical) problem with middleware, and also I’d be grateful to hear some suggestions about the general workflow. Doubtless all of you are familiar with a topic as simple as POST handling, and maybe some of you have improvements over the usual Django approach. So, I have