On Sun, Sep 26, 2010 at 10:34 PM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sun, Sep 26, 2010 at 4:15 PM, Marc Aymerich <glicer...@gmail.com>wrote: > >> It seems that the condition request.method == 'POST' is never true :( >> whyy?? > > > What does the template that contains the form look like? > > Hi Karen, Here the template: {% extends "base.html" %} {% block title %}Domain Section{% endblock %} {% block content %} <h2>{{ title }}</h2> <p> <form action="." method="POST">{% csrf_token %} <table> {{ form.as_table }} </table> <p><input type="submit" value="Submit"></p> </form> </p> {% endblock %} I use it succesfully with others forms. > Karen > -- > http://tracey.org/kmt/ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Marc -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.