1. Benoît Bryon
  2. django-formrenderingtools
  3. Issues
Issue #3 resolved

Make it possible to render only a part of a form (exclude fields and/or only some fields)

Benoît Bryon
repo owner created an issue

Add optional parameters to the "render_form" template tag, so that it is possible to generate output for a subset of fields in the form.

Or add a "render_form_fields" template tag that provides the functionality.

This could be useful for a template designer to isolate some fields in a fieldset, or to change the display order of fields.

Comments (4)

  1. Benoît Bryon reporter

    The {% render_field_list %} tag has been added.

    The "fields" and "exclude_fields" input parameters have been added to {% render_form %} and {% render_field_list %} tags.

  2. Log in to comment