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 heading
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 %}