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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for molo.forms-10.1.7.tar.gz
Algorithm Hash digest
SHA256 0f9fb4e95c55ed438de90ffa33c8dfa7cd789b316db09685223bb4bf904e0a6e
MD5 2a5d72643d3459b22f989ac8230c74f6
BLAKE2b-256 b3000f4a2d92606d16c7fc4fae51399343f8e27cbb553f1323a08c1d13ea6799

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molo.forms-10.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 91.1 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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for molo.forms-10.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 19f219ebd57488ab40b2dbd14a3514765e2d70bed0a9fa0382f7fd0b3c7b2ae3
MD5 957391961d21201b240aa3c16a5f65e5
BLAKE2b-256 e41aab72dfef4da0c2b1f79fdd970d1aa4308de88371c8c3fc3df18256c74322

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