Template-based rendering of Django forms layouts (not widgets).
Project description
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>
Resources
Online documentation: http://packages.python.org/django-formrenderingtools/
PyPI page: http://pypi.python.org/pypi/django-formrenderingtools
Source code repository: http://bitbucket.org/benoitbryon/django-formrenderingtools
Bugtracker: http://bitbucket.org/benoitbryon/django-formrenderingtools/issues
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-formrenderingtools-0.2.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9094d693da694811ab0cc43caef99d7d85201d2f918b76f074a1736cc2c2909 |
|
MD5 | 07c472ae98482f2fad457220b50cab92 |
|
BLAKE2b-256 | 811bda183b83a855a5826397cbbab3b55a1aa24ebf34e614840c5ef2d44d626c |