Skip to main content
===============================
Django Molder
===============================

.. image:: https://img.shields.io/travis/zerc/django_molder.svg
:target: https://travis-ci.org/zerc/django_molder

.. image:: https://img.shields.io/pypi/v/django_molder.svg
:target: https://pypi.python.org/pypi/django_molder


Another one painless way to working with forms and they fields

* Free software: BSD license
.. * Documentation: https://django_molder.readthedocs.org.

Features
--------

It provides multiple tags for rendering form fields in a custom template.
Bootstrap3 classes and html as default but you can simple override this for your specification -
just make ``molder`` directory in your templates folder.

Example:
--------

In your template:


.. code:: html

{% loads molder_tags %}

<div class="container-fluid">
<div class="row">
<form class="form">
<div class="col-md-6">
{% render_field form_one.char_field class="+big_input" placeholder="Hello world" %}
{% render_field form_one.radio_field help_on_top=True %}
{% render_field form_one.file_field template="myapp/coolest_file_field.html" %}
</div>
<div class="col-md-6">
{% render_field form_one.multiple_select_field show_help=False required=False %}
{% render_field form_one.checkbox_field %}
</div>
</form>
</div>
</div>


Template tags
-------------

render_field
============

Gets the bound_field and the extra kwargs and then render it.

Special kwargs:

* show_help - show/hide field help_text
* show_label - show/hide field label
* help_on_top - show help_text on top
* template - template used for this field
* required - override field required attr for visual fake


render_form
===========

Gets form as first arg. Iterates through the fields and render them. Extra kwargs passed in each field.


render_messages
===============

Just render the messages (django.contrib.messages)




History
-------

0.1.0 (2015-01-11)
---------------------

* First release on PyPI.

Metadata

Release files for django_molder 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django_molder 0.1.0
File Size Uploaded Provenance Actions
django_molder-0.1.0.tar.gz 15.0 kB Without provenance Details for django_molder-0.1.0.tar.gz

Release files / django_molder-0.1.0.tar.gz

Download URL django_molder-0.1.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6417dcd3f5ea45e20664ae4007b51434f898da99eef8fca6081f05227a510907
BLAKE2b-256 checksum
How to use checksums
d50ed12205cb7840a6399a14cd1016d8702364853bdadbe65912a9faf11b7d06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django_molder 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page