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-11.3.4.tar.gz (80.1 kB view hashes)

Uploaded Source

Built Distribution

molo.forms-11.3.4-py2.py3-none-any.whl (102.8 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