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.3.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8edd01fa77cf5ed1964208e33ac120ebffd0f0fb4ff30dfaad79665eb13adbf |
|
MD5 | 18b3a64f99b31aaa383aefe29605e9c2 |
|
BLAKE2b-256 | 5cb80f0adba11b3b1c8226b0143cd011c63f3eea4ac9d941c9a198d9920f1d1d |