Permalink
Switch branches/tags
Nothing to show
Commits on Feb 11, 2009
  1. http://pypi.python.org/pypi/WTForm/1.0

    Christian Joergensen committed with akaihola Mar 3, 2008
  2. http://web.archive.org/web/20071006023302/http://www.djangosnippets.o…

    Christian Joergensen committed with akaihola Aug 5, 2007
    …rg/snippets/214/
    
    jmohr (on May 25, 2007):
    
        Thank you, this is very nice! However, it doesn't seem to work
        with form_for_model or form_for_instance... the resulting class
        doesn't have any goodies in it:
    
            >>> ArticleForm = forms.form_for_model(Article,form=WTForm)
            >>> f = ArticleForm()
            >>> f.as_div()
            u''
            >>> f.fields.keys()
            []
            >>>
            >>> ArticleForm = forms.form_for_model(Article)
            >>> f = ArticleForm()
            >>> f.fields.keys()
            ['title', 'slug', 'author', 'intro', 'body', 'tag_list', 'published']
            >>>
    
    chrj (on August 5, 2007):
    
        jmohr, your issue has now been resolved. The WTForm class now
        descends directly form BaseForm and that solved the problem.
    
        Thank you.
  3. http://web.archive.org/web/20070505061921/http://www.djangosnippets.o…

    Christian Joergensen committed with akaihola May 3, 2007
    …rg/snippets/214/
    
    WTForm is an extension to the django newforms library allowing the developer, in a very flexible way, to layout the form fields using fieldsets and columns
    
    WTForm was built with the well-documented YUI Grid CSS in mind when rendering the columns and fields. This should make it easy to implement WTForm in your own applications.