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.13.tar.gz (70.4 kB view details)

Uploaded Source

Built Distribution

molo.forms-10.1.13-py2.py3-none-any.whl (93.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: molo.forms-10.1.13.tar.gz
  • Upload date:
  • Size: 70.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for molo.forms-10.1.13.tar.gz
Algorithm Hash digest
SHA256 6d62e84575eb7b75c50839fb3822dca2322e97c617c80fa0e6e25c852b319ff0
MD5 d8cbda26ec4c7b5b8e8a8f92382cfd43
BLAKE2b-256 9fadd57d2c74ea3a02375661826d14a732906c1bb628eb4d5d1b5951b342cd52

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molo.forms-10.1.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 93.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for molo.forms-10.1.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58d9feb88e6e1ce7d047350b4e74987768e1433b8583e3a13dbcf820a584f74a
MD5 fd1085a9799052a1d56e7d7af8d23268
BLAKE2b-256 23053262039d87fd65fc126af50c9b6fc844e4bedff0a41dc878c61a2ac534d4

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