Skip to main content

A form builder for Molo applications.

Project description

https://img.shields.io/travis/praekeltfoundation/molo.forms.svg https://img.shields.io/pypi/v/molo.forms.svg Code Coverage

A form builder for Molo applications

Installation:

pip install molo.forms
Testing:

read the .travis.yml file follow the instructions under the scripts heading

Django setup:

INSTALLED_APPS = (
   # ...
   'molo.forms',
   # ...

)

In your urls.py:

from molo.forms import urls
 ...
 url(r"^forms/$", include(urls)),
 ...

In your main.html:

{% load molo_forms_tags %}

{% block content %}
   {% forms_list %}
{% endblock %}

In your section page or article page:

{% load molo_forms_tags %}

{% block content %}
 {{% forms_list_for_pages page=self %}
{% endblock %}

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

molo.forms-10.1.7.tar.gz (68.7 kB view hashes)

Uploaded Source

Built Distribution

molo.forms-10.1.7-py2.py3-none-any.whl (91.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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