Skip to main content

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

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

django-formrenderingtools-0.2.3.zip (47.7 kB view details)

Uploaded Source

File details

Details for the file django-formrenderingtools-0.2.3.zip.

File metadata

File hashes

Hashes for django-formrenderingtools-0.2.3.zip
Algorithm Hash digest
SHA256 a8edd01fa77cf5ed1964208e33ac120ebffd0f0fb4ff30dfaad79665eb13adbf
MD5 18b3a64f99b31aaa383aefe29605e9c2
BLAKE2b-256 5cb80f0adba11b3b1c8226b0143cd011c63f3eea4ac9d941c9a198d9920f1d1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page