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-6.1.0.tar.gz
(19.3 kB
view details)
File details
Details for the file molo.polls-6.1.0.tar.gz
.
File metadata
- Download URL: molo.polls-6.1.0.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2cc6d11864d188e753f38921defc43b7223816f5d3bb56cbcf61004acd7384 |
|
MD5 | 306a5fbbca9e3b25d98b2f2f5c06bf47 |
|
BLAKE2b-256 | bc8b58c6b38c7ad1764acf3b338aee694acfd50c3098f531255af345c4e016f4 |