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 details)

Uploaded Source

Built Distribution

molo.forms-11.3.4-py2.py3-none-any.whl (102.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file molo.forms-11.3.4.tar.gz.

File metadata

  • Download URL: molo.forms-11.3.4.tar.gz
  • Upload date:
  • Size: 80.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for molo.forms-11.3.4.tar.gz
Algorithm Hash digest
SHA256 e17005309dcd994dc53e50f9c293dfabb75f3f0ce3f1e717ffbd0200b5cf62b6
MD5 44e2754cd1e966d96c4a0620444c52c3
BLAKE2b-256 de17526b46ab92afcce90fdcd04a0a2ed03df62553046d622b52a553c39f4959

See more details on using hashes here.

File details

Details for the file molo.forms-11.3.4-py2.py3-none-any.whl.

File metadata

  • Download URL: molo.forms-11.3.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 102.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for molo.forms-11.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e10469bfa66b9c7d1b7602d5774c935f5cabc97364fedbca164798ae257186ae
MD5 de72ec79cb79501ef1fa4bd9573c3ab4
BLAKE2b-256 e1afbc35a33b07808e5f972676a3391d979bfaee625e3cc19966c171a8ba3924

See more details on using hashes here.

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