2009/11/29 rebus_ <r.dav...@gmail.com>: > I imagine some of core devs or django gurus would maybe have better > ideas on how to do this (or can even tell you if this is documented > somewhere). What i wonder is: Isn't this a fairly common thing? I could think of so many situations where you would preset fields with values from the database. So I am pretty suprised that it seems like there is no "default" way of doing this. This maybe because i never used a framework like django before and I'm missing a general design principle. If so, please tell me ;)
> As far as readonly fields go i found snippet [3] but i haven't look at > it closely to tell you is it any good or not. > But if you set your fields read only how would you make them editable > if necessary? With JavaScript? It is more like the fields should be either preset and editable XOR preset and not editable. Nothing to change there once the page is rendered > Hope i helped this time :) Too much Information :) I'm just getting started with django ;) Greets, -- Kai Timmer | http://kaitimmer.de Email : em...@kaitimmer.de Jabber (Google Talk): k...@kait.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-us...@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.