Re: Two Formset on the same page

2009-10-01 Thread Tom Evans
On Thu, 2009-10-01 at 08:52 -0700, Val Makykh wrote: > Thanks for advice, Tom. > > I've now followed it and have this exception: > __ > Environment: > > Request Method: GET > Request URL: http://localhost:8000/results/2/1/ > Django Version: 1.1 > Python Version: 2.6.2 > Installed Applica

Re: Two Formset on the same page

2009-10-01 Thread Val Makykh
Thanks for advice, Tom. I've now followed it and have this exception: __ Environment: Request Method: GET Request URL: http://localhost:8000/results/2/1/ Django Version: 1.1 Python Version: 2.6.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.con

Re: Two Formset on the same page

2009-10-01 Thread Tom Evans
On Thu, 2009-10-01 at 07:26 -0700, Val Makykh wrote: > Hello all. > > I use Django 1.1. > > I try to make two formsets on the same page. > But when I'm trying to use the data from POST, I have such problem: > from POST each formset takes only first form with value. Where have I > mistaken? Hav

Re: Two Formset on the same page

2009-10-01 Thread Shawn Milochik
Are both Django forms being rendered in the same HTML form, or are they separate? If they're in separate HTML forms, that could be the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group

Two Formset on the same page

2009-10-01 Thread Val Makykh
Hello all. I use Django 1.1. I try to make two formsets on the same page. But when I'm trying to use the data from POST, I have such problem: from POST each formset takes only first form with value. Where have I mistaken? Sourse: In views.py: __ def results(request, countOfTer