Re: how to make a field uneditable in admin site

2009-02-21 Thread legutierr
On Feb 18, 9:14 pm, Malcolm Tredinnick wrote: > On Wed, 2009-02-18 at 18:07 -0800, adelevie wrote: > > According to Djangobook, the philosophy of theadminsite is that all > > users of it are "trusted" not just "authenticated," meaning you will > > trust them to do the

Re: how to make a field uneditable in admin site

2009-02-18 Thread adelevie
According to Djangobook, the philosophy of the admin site is that all users of it are "trusted" not just "authenticated," meaning you will trust them to do the right thing. On Feb 18, 8:42 pm, mermer wrote: > You need to create a custom ReadOnlyField that subclasses the

Re: how to make a field uneditable in admin site

2009-02-18 Thread mermer
You need to create a custom ReadOnlyField that subclasses the FileField. You also need to create a ReadOnlyWidget that subclasses Forms.Widget The link below, explains how the whole thing hangs together.

Re: how to make a field uneditable in admin site

2009-02-17 Thread bruno desthuilliers
On 17 fév, 08:22, guptha wrote: > hi , > i need to know how to create a non editable field in admin site .I > tried , one like  below > > acct_number=models.CharField(max_lenght=100,editable=False) > > but it doesn't work According to both the documentation and my own

how to make a field uneditable in admin site

2009-02-16 Thread guptha
hi , i need to know how to create a non editable field in admin site .I tried , one like below acct_number=models.CharField(max_lenght=100,editable=False) but it doesn't work please any other ideas, --~--~-~--~~~---~--~~ You received this message because you