A molo module that provides the ability to run polls.
Project description
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 %}
Project details
Release history Release notifications | RSS feed
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.0.0.tar.gz
(20.4 kB
view details)
File details
Details for the file molo.polls-8.0.0.tar.gz
.
File metadata
- Download URL: molo.polls-8.0.0.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6900d728d2488afb2c7c136fa7f46b45493e624c09ae921928425f48a2600b94 |
|
MD5 | 996cae2a2e959b1d8df411532a8bae6c |
|
BLAKE2b-256 | f17825535be10a9e3e2cad71ee0515f9212c8831bedbce14e93fb59cf6cec567 |