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 frustratin
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.
--~--~-~--~~~
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 wh
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 = forms.postForm(request.POS
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 = forms.postForm(request.POS
5 matches
Mail list logo