Re: Putting pieces back together again

2009-01-13 Thread Mark Jones
Thanks, formsets was the answers, and smartly enough, they didn't name all the fields the exact same name, but reassemble them afterwards. On Jan 12, 9:04 am, Jeff FW wrote: > Mark, > > You should really use Forms and FormSets--they'll make this problem > essentially go away. > > http://docs.dja

Re: Putting pieces back together again

2009-01-12 Thread Jeff FW
Mark, You should really use Forms and FormSets--they'll make this problem essentially go away. http://docs.djangoproject.com/en/dev/topics/forms/#topics-forms-index http://docs.djangoproject.com/en/dev/topics/forms/formsets/ -Jeff On Jan 12, 12:46 am, Mark Jones wrote: > I have some fields on

Putting pieces back together again

2009-01-11 Thread Mark Jones
I have some fields on my page that have more than one attribute for simplification, lets say two attributes answer = {'txt':'something', 'allowblank':0} laid out on the page as: {% for answer in quiz_question.answers %} {% endfor %} the first is pulled from an input field, and if !allowbl