hello

thanks for your reply, but it is a bit to brief for me. I looked
reedonlyadmin up in google and the only thing i find is
http://code.djangoproject.com/wiki/ReadOnlyAdmin, which is a proposal.
So: i guess this has been implemented, but it is not documented in the
online documentation. So what version of django has this feature, and
where can i see an example.

thanks,

Ernst

On Fri, Jun 19, 2009 at 6:56 AM, ankit rai<ankit9...@gmail.com> wrote:
> use readonlyadmin in your admin.py.U can easily get it on search
>
> On Thu, Jun 18, 2009 at 7:17 PM, Eernst Bunders <ebund...@gmail.com> wrote:
>>
>> Hello
>>
>> I am new to django, and am in the process of discovering what it can
>> and can not do (out of the box). We are primarily interested in jango
>> as a content generation tool, so I am focusing on modeling and using
>> the admin site.
>> One thing I can't realy figure out is how to show fields in admin
>> forms without editing them.
>> One good example for such a feature is the Choice.votes field of poll
>> tutorial: Poll votes should normally not  be editable for site
>> editors, but you would like to show it.
>> The same applies to meta information like 'author' or 'creationdate'.
>>
>> The logical approach would be to set the Field.editable field to
>> False, and then include the field in your ModelAdmin specialization.
>> But this yields an error.
>>
>> I'v been through the sourcecode for a bit to find an answer to this,
>> but so far no luck, so I thought I try this. It seems such an obvious
>> feature that i can't believe it is missing.
>>
>> can anybody help?
>>
>> regards,
>>
>> Ernst Bunders
>>
>>
>
>
> >
>



-- 
Ernst bunders
Ontwikkelaar VPRO

--~--~---------~--~----~------------~-------~--~----~
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