Re: How to manually render a Django template for an inlineformset_factory with can_delete = True / False

2010-04-15 Thread chefsmart
Makes sense. Thanks. On Apr 15, 7:03 pm, Tom Evans wrote: > On Thu, Apr 15, 2010 at 2:00 PM, chefsmart wrote: > > Thanks for that tip. > > > I can guess what empty_permitted is, but could you explain how > > empty_permitted is related to can_delete? I couldn't find it in the > > docs, and such r

Re: How to manually render a Django template for an inlineformset_factory with can_delete = True / False

2010-04-15 Thread Tom Evans
On Thu, Apr 15, 2010 at 2:00 PM, chefsmart wrote: > Thanks for that tip. > > I can guess what empty_permitted is, but could you explain how > empty_permitted is related to can_delete? I couldn't find it in the > docs, and such relationship is not apparent from the code. > > Regards. > empty_permi

Re: How to manually render a Django template for an inlineformset_factory with can_delete = True / False

2010-04-15 Thread chefsmart
Thanks for that tip. I can guess what empty_permitted is, but could you explain how empty_permitted is related to can_delete? I couldn't find it in the docs, and such relationship is not apparent from the code. Regards. On Apr 15, 3:16 pm, Tom Evans wrote: > On Thu, Apr 15, 2010 at 6:45 AM, che

Re: How to manually render a Django template for an inlineformset_factory with can_delete = True / False

2010-04-15 Thread Tom Evans
On Thu, Apr 15, 2010 at 6:45 AM, chefsmart wrote: > Hi, > > I have an inlineformset with a custom Modelform. So it looks something > like this: > > MyInlineFormSet = inlineformset_factory(MyMainModel, MyInlineModel, > form=MyCustomInlineModelForm) > > I am rendering this inlineformset manually in

How to manually render a Django template for an inlineformset_factory with can_delete = True / False

2010-04-14 Thread chefsmart
Hi, I have an inlineformset with a custom Modelform. So it looks something like this: MyInlineFormSet = inlineformset_factory(MyMainModel, MyInlineModel, form=MyCustomInlineModelForm) I am rendering this inlineformset manually in a template so that I have more control over widgets and javascript