EBunders
unread,Jun 18, 2009, 7:44:30 AM6/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers
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