On Sat, 2009-03-07 at 08:29 -0800, Chris wrote:
[..]
> Others have posted similar questions in this forum, but it doesn't
> look like anyone's found a good solution to this problem.

There have been plenty of reasonable solutions posted to the forum. It's
close to trivial to write a class to display static text as a widget.

[...]
> Is there any reason why the default form fields don't include a
> readonly option?

Because "read only" isn't a form field. It's a static piece of text and
you can already display static pieces of text in a template.

That being said, one day we're likely to include a class to support this
one day because it fits in somewhat smoothly with automatically
generated forms. It's still not even close to being a showstopper at the
moment, though.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to