Setting a simple context variable in your view would solve your purpose. Thanks, Subhranath Chunder. www.subhranath.com
On Sun, Aug 14, 2011 at 1:22 PM, doniyor <doniyor....@googlemail.com> wrote: > Hey Guys, > > i need a litle help in working with forms. i have a button and i want > to output a success text above the button if the user presses the > button. how to do this ? is there any template tag like {% if > form.is_submitted %} or so? > > main point is that i dont want to write another html file only to show > the success message. > > thanks in advance.. > > Doni > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Thanks, Subhranath Chunder. www.subhranath.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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.