hi,

I develop intranet apps with a lot of forms. Sometimes I need
to render them as readonly. I use snippet 1682 (see below) to make
widgets readonly.

This way you can use the same code for viewing and editing a form.

Are more django user using something like this? If yes, it would
be nice to get this in to django (or contrib).

[1]
http://www.djangosnippets.org/snippets/1682/

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

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