Re: Readonly on subset of forms in Admin inlines

2011-05-12 Thread Vinicius Massuchetto
Hi! Did you find any solution for this? I'm trying to achieve a similar behavior for inlines, as posted in another recent thread. Thanks. -- Vinicius Massuchetto On Jan 23, 8:07 am, Peter Phillips wrote: > Thanks for the reply! > > I probably didn't explain the problem properly. I have been usin

Re: Readonly on subset of forms in Admin inlines

2011-01-23 Thread Peter Phillips
Thanks for the reply! I probably didn't explain the problem properly. I have been using the ModelAdmin.readonly_fields option, however it hasn't been doing quite what I need for inline formsets. In the case of my inline form, when I set some of the fields to readonly, they end up read only for all

Re: Readonly on subset of forms in Admin inlines

2011-01-20 Thread Thomas
Am 20.01.2011 um 03:27 schrieb Peter Phillips: > Hello, > > Is there a straightforward way to set fields to read only for a subset > of the forms in an inline formset in the Admin? I'd like to set some > fields to read only on my inline form for rows that were not created > by the user. However,

Readonly on subset of forms in Admin inlines

2011-01-19 Thread Peter Phillips
Hello, Is there a straightforward way to set fields to read only for a subset of the forms in an inline formset in the Admin? I'd like to set some fields to read only on my inline form for rows that were not created by the user. However, when I set the fields to read only, it of course affects all