Skip to main content
Continuous Integration Code Coverage Pypi Package

A molo module that provides the ability to run polls and surveys.

Installation:

pip install molo.polls

Django setup:

INSTALLED_APPS = (
   'molo.polls',
)

In your urls.py:

urlpatterns += [
     url(r'^polls/', include('molo.polls.urls', namespace='molo.polls', app_name='molo.polls')),
]

In your main.html:

{% load poll_votings %}

{% block content %}
   {% poll_page page=language_page %}
{% endblock %}

In your section page or article page:

{% load poll_votings %}

{% block content %}
 {% has_questions self as questions %}
 {% if questions %}
   {% poll_page_in_section page=self %}
 {% endif %}
{% endblock %}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molo.polls-8.2.0.tar.gz (20.4 kB view details)

Uploaded Source

File details

Details for the file molo.polls-8.2.0.tar.gz.

File metadata

  • Download URL: molo.polls-8.2.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for molo.polls-8.2.0.tar.gz
Algorithm Hash digest
SHA256 3376b5350ab241b3b4f7ac2fb13a1301ce9d6c4afd8db88b99264527f260f293
MD5 f96b5657dc8333ee3f77557dbcf7cba7
BLAKE2b-256 534e1ec0d5e6b916149bea4a74a6a2396fa7c7eb6bb282be71668d3e96629970

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

8.2.0 This release

1 file

8.1.0

1 file

8.0.0

1 file

7.0.1

1 file

7.0.0

1 file

6.4.1

1 file

6.4.0

1 file

6.3.0

1 file

6.2.0

1 file

6.1.0

1 file

6.0.0

1 file

5.0.1

1 file

5.0.0

1 file

3.2.0

1 file

3.1.0

1 file

3.0.1

1 file

3.0.0

1 file

2.2.2

1 file

2.2.1

1 file

2.2.0

1 file

2.1.0

1 file

2.0.3

1 file

2.0.2

1 file

2.0.0

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page