On 17 fév, 08: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
According to both the documentation and my own experience, it should.
At least for a definition of "works" being "doesn't display in admin
forms _unless_ listed in the 'fieldsets' or 'fields' options.
Please post relevant code and a more detailed description of the
result than "doesn't work".
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---