Re: newform: Post_add Submission not working

2007-03-02 Thread Honza Král
On 3/3/07, johnny <[EMAIL PROTECTED]> wrote: > > I did place form.errors in the template. If I type the invalid data, > then it displays the errors. Problem is when I type in valid data, it > doesn't display anything and brings me back to the form with the data > I have entered. Every

Re: newform: Post_add Submission not working

2007-03-02 Thread johnny
I did place form.errors in the template. If I type the invalid data, then it displays the errors. Problem is when I type in valid data, it doesn't display anything and brings me back to the form with the data I have entered. Every frustrating problem.

Re: newform: Post_add Submission not working

2007-03-02 Thread Honza Král
it would seem that the form still have some errors, try outputting form.errors in the template to see if its empty On 3/2/07, johnny <[EMAIL PROTECTED]> wrote: > > When I submit the information with the form, for some reason, I keep > coming back to the form, with data I entered. I am not sure

newform: Post_add Submission not working

2007-03-01 Thread johnny
When I submit the information with the form, for some reason, I keep coming back to the form, with data I entered. I am not sure why this is the case. It should take the data, and save to the file. def add_post(request): if request.method == 'POST': form =

newform: Post_add Submission not working

2007-03-01 Thread johnny
When I submit the information with the form, for some reason, I keep coming back to the form, with data I entered. I am not sure why this is the case. It should take the data, and save to the file. def add_post(request): if request.method == 'POST': form =