Yes that works, totally missed the get_readonly_fields method -
thanks!
Nick
On Apr 29, 4:40 pm, Daniel Roseman wrote:
> On Apr 29, 3:43 pm, Nick wrote:
>
>
>
>
>
> > Hi,
>
> > I would like to set some fields to be readonly in the Admin app based
> > on some logic, and would like to use the ne
On Apr 29, 3:43 pm, Nick wrote:
> Hi,
>
> I would like to set some fields to be readonly in the Admin app based
> on some logic, and would like to use the new readonly_fields attribute
> of ModelAdmin if possible (rather than some other sort of hack).
>
> I'm trying to access readonly_fields, but
Hi,
I would like to set some fields to be readonly in the Admin app based
on some logic, and would like to use the new readonly_fields attribute
of ModelAdmin if possible (rather than some other sort of hack).
I'm trying to access readonly_fields, but get the error "'GalleryForm'
object has no at
3 matches
Mail list logo