Hello,
I have a form that accepts some data. If the data is invalid, the
server side validation should detect this, redirect to the original
url and display error messages.
I have got this working but the problem is that I had to pollute the
request.sessions object with a lot of error messag
On Fri, 2007-11-02 at 06:26 -0700, jim wrote:
> Hello,
> I have a form that accepts some data. If the data is invalid, the
> server side validation should detect this, redirect to the original
> url and display error messages.
I think your design is a bit backwards here. try to avoid using a
re
OK. This approach works. Thanks.
Would you have any link to a best practice where such a approach is
detailed?
Thx..
Jim
On Nov 2, 10:01 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-11-02 at 06:26 -0700, jim wrote:
> > Hello,
> > I have a form that accepts some data. If
On Nov 2, 12:08 pm, jim <[EMAIL PROTECTED]> wrote:
> OK. This approach works. Thanks.
>
> Would you have any link to a best practice where such a approach is
> detailed?
The very first simple view example in the New forms documentation
shows what Malcolm recommended to you.
http://www.djangopr
For completeness..here is a link to this design pattern:
http://en.wikipedia.org/wiki/Post/Redirect/Get
jim
On Nov 2, 2:28 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> On Nov 2, 12:08 pm,jim<[EMAIL PROTECTED]> wrote:
>
> > OK. This approach works. Thanks.
>
> > Would you have any link to a best pr
5 matches
Mail list logo