Re: Problem with my view or template (DRIVES ME NUTS)
On Mon, 5 Mar 2012 08:00:20 -0800 (PST), leaks
<tonykyriakidis@gmail.com> declaimed the following in
gmane.comp.python.django.user:
> I created the form as above, and when i click on the submit button it
> doesn't do anything at all, well it shows it refreshed the page but it
> didn't add a +1 neither an error occurs
>
Did you check the database where you are saving values? Or are you
only commenting that the displayed form in the browser didn't update?
Unless you use Javascript to dynamically update a loaded form, the
only way to reflect the addition is to respond with a fresh copy of the
form (or redirect to the same URL so it reloads with new data).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home