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 right thing.
>
> That's not
On Wed, 2009-02-18 at 18:07 -0800, adelevie wrote:
> 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.
That's not an argument against a read-only display of information.
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
> FileField.
> You also n
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.
http://lazypython.blogspot.com/search?updated-min=2008-01-01T00%3A00%3A00-05%3A00&updated-m
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 experience, it should.
At
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 are
6 matches
Mail list logo