Saturday, September 25, 2010

Re: Universal form

Le 25/09/2010 14:52, werefr0g a écrit :
You're assuming that form are called only from views. Some Form methods are mostly used inside templates like as_p for example.

Sorry for the double post but this statement is far from accurate (to be kind with myself). You can use form in a template without any kind of preparation in the views. This maybe pointless in most practical cases but developpers are inclined to behave weirdly (this is a lame explanation but this is at least accurate).

No comments:

Post a Comment