Re: Send validation error message to the screen

2009-04-13 Thread Joshua Partogi
I'm sorry Malcolm, I'm from Java background where I usually put messages on its own stack. If the way django do it is to put it in context, then I'm gonna use it that way. Thanks for clearing this up. :-) Cheers, On Apr 13, 10:35 am, Malcolm Tredinnick wrote: > On Sun, 2009-04-12 at 17:22 -07

Re: Send validation error message to the screen

2009-04-13 Thread Joshua Partogi
Thanks Margie, Let me try that first. Cheers, On Apr 14, 2:12 am, Margie wrote: > Not sure if this is what you are looking for, but I use the > notifications app to add some extra info to my html, to alert the user > that there are errors in the form below or to let them know that there > was

Re: Send validation error message to the screen

2009-04-13 Thread Margie
Not sure if this is what you are looking for, but I use the notifications app to add some extra info to my html, to alert the user that there are errors in the form below or to let them know that there was no error and the form was submitted successfully. In view.py: request.not

Re: Send validation error message to the screen

2009-04-12 Thread Malcolm Tredinnick
On Sun, 2009-04-12 at 17:22 -0700, Joshua Partogi wrote: > Thanks Malcolm, > > What I'm looking after is sending my custom validation error message > that is not covered by django. But what does this mean? How is it different from passing any other piece of information to a template via the cont

Re: Send validation error message to the screen

2009-04-12 Thread Joshua Partogi
Thanks Malcolm, What I'm looking after is sending my custom validation error message that is not covered by django. Thank you very much On Apr 13, 10:15 am, Malcolm Tredinnick wrote: > On Sun, 2009-04-12 at 23:37 +1000, Joshua Partogi wrote: > > Dear all, > > > I want to send and display vali

Re: Send validation error message to the screen

2009-04-12 Thread Malcolm Tredinnick
On Sun, 2009-04-12 at 23:37 +1000, Joshua Partogi wrote: > Dear all, > > I want to send and display validation error message from the view to > the template, how do I do this in Django? I tried searching on the > documents but could not find any topics on error message. Could anyone > give me a h

Send validation error message to the screen

2009-04-12 Thread Joshua Partogi
Dear all, I want to send and display validation error message from the view to the template, how do I do this in Django? I tried searching on the documents but could not find any topics on error message. Could anyone give me a hint on how to do this? Thank you very much -- If you can't believe