Re: Formsets issue

2009-02-18 Thread Malcolm Tredinnick
On Wed, 2009-02-18 at 09:16 -0800, Thomas Hill wrote: > Hey all, > > Been trying to display multiple form rows for a project lately, and I > just wanted to confirm that I'm doing this right. I found a solution > on http://www.pointy-stick.com/blog/2009/01/23/advanced-formset-usage-django/ >

Re: Formsets issue

2009-02-18 Thread Thomas Hill
Brilliant, thank you! I'll take care of this later tonight. Thanks again, Brian. On Wed, Feb 18, 2009 at 10:40 AM, Brian Rosner wrote: > > > On Feb 18, 2009, at 11:33 AM, Thomas Hill wrote: > > > Ah, yes, indeed. Will definately do that, thanks. Regarding the > > formset classes and form classes

Re: Formsets issue

2009-02-18 Thread Brian Rosner
On Feb 18, 2009, at 11:33 AM, Thomas Hill wrote: > Ah, yes, indeed. Will definately do that, thanks. Regarding the > formset classes and form classes with their try/except lines, > however, does that look "right"? Ah ok. I must have completely overlooked that. You seem to be solving thing

Re: Formsets issue

2009-02-18 Thread Thomas Hill
Ah, yes, indeed. Will definately do that, thanks. Regarding the formset classes and form classes with their try/except lines, however, does that look "right"? On Wed, Feb 18, 2009 at 10:31 AM, Brian Rosner wrote: > > > On Feb 18, 2009, at 10:16 AM, Thomas Hill wrote: > > > #VIEW > > @login_requi

Re: Formsets issue

2009-02-18 Thread Brian Rosner
On Feb 18, 2009, at 10:16 AM, Thomas Hill wrote: > #VIEW > @login_required > def manage_roles(request, resource_id): > resource = get_object_or_404(Lock, pk=resource_id) > if(request.method == "POST"): > formset = create_roles_formset(resource, request.POST) > if formset.