Metadata-Version: 2.1
Name: molo.surveys
Version: 6.10.1
Summary: This is the molo.surveys project.
Home-page: https://github.com/praekelt/molo.surveys
Author: Praekelt Foundation
Author-email: dev@praekeltfoundation.org
License: BSD
Keywords: molo.surveys
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: molo.core (<7.0.0,>=6.5.0)
Requires-Dist: celery (<4.0)
Requires-Dist: dateparser (<0.8.0,>=0.7.0)
Requires-Dist: django-celery
Requires-Dist: wagtailsurveys (==0.1.1)
Requires-Dist: wagtail-personalisation-molo (==0.11.3)
Requires-Dist: psycopg2
Requires-Dist: html5lib (==0.9999999)
Requires-Dist: six (==1.11.0)
Requires-Dist: Unidecode (==0.04.16)

molo.surveys
=============================

.. image:: https://img.shields.io/travis/praekelt/molo.surveys.svg
        :target: https://travis-ci.org/praekelt/molo.surveys

.. image:: https://img.shields.io/pypi/v/molo.surveys.svg
        :target: https://pypi.python.org/pypi/molo.surveys

.. image:: https://coveralls.io/repos/praekelt/molo.surveys/badge.png?branch=develop
    :target: https://coveralls.io/r/praekelt/molo.surveys?branch=develop
    :alt: Code Coverage

An implementation of wagtailsurveys as a Molo plugin

Installation::

   pip install molo.surveys

Testing:
   read the .travis.yml file
   follow the instructions under the scripts file

Django setup::

   INSTALLED_APPS = (
      'wagtailsurveys',
      'wagtail_personalisation',
      'wagtailfontawesome',

   )


In your urls.py::

    url(
        r"^(?P<slug>[\w-]+)/success/$",
        SurveySuccess.as_view(),
        name="success"
    ),


In your main.html::

   {% load molo_survey_tags %}

   {% block content %}
      {% surveys_list %}
   {% endblock %}

In your section page or article page::

   {% load molo_survey_tags %}

   {% block content %}
    {{% surveys_list_for_pages page=self %}
   {% endblock %}


