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 <merme...@googlemail.com> wrote:
> 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%...
>
> On 17 Feb, 07:22, guptha <gjango...@gmail.com> 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
> > please any other ideas,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to