How to set can_delete to TabularInline

14 views
Skip to first unread message

Marinho Brandao

unread,
Aug 18, 2008, 4:53:49 PM8/18/08
to django...@googlegroups.com
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 :)

--
Marinho Brandão (José Mário)
http://marinho.webdoisonline.com/

Marinho Brandao

unread,
Aug 18, 2008, 4:57:17 PM8/18/08
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages