Source

django-formrenderingtools /

Filename Size Date modified Message
demo
django_formrenderingtools
docs
etc
212 B
411 B
64 B
1.1 KB
1006 B
1.6 KB
163 B
1.8 KB
939 B
6 B
112 B
1.3 KB

django-formrenderingtools

Warning

This project is inactive. Django-floppyforms is the recommended alternative since it supports form layouts. See: https://pypi.python.org/pypi/django-floppyforms

Customize layout of Django forms in templates, not in Python code.

Rather than using {{ form.as_p }}, set up and reuse templates to render Django's form elements.

As an example, to reproduce Django's {{ form.as_p }}:

{% load form_layouts %}
<form>
  {% form layout="as_p" %}
  <input type="submit">
</form>