Re: How to set can_delete to TabularInline

2008-08-18 Thread Marinho Brandao
ok, found here: http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py#L755 2008/8/18 Marinho Brandao <[EMAIL PROTECTED]>: > Hi all, > > (talking about Admin) > > somebody knows how to set a can_delete=True to a TabularInline-based class? > > looking into the code, I

How to set can_delete to TabularInline

2008-08-18 Thread Marinho Brandao
Hi all, (talking about Admin) somebody knows how to set a can_delete=True to a TabularInline-based class? looking into the code, I see the inline formsets are created in ModeAdmin.add_view and ModeAdmin.change_view, and not found a way to do that with no hack into them to set can_delete thanks