This django CMS plugin lets editors add simple surveys into the pages.
- Install cmsplugin_survey package.
pip install cmsplugin-survey
- Add cmsplugin_survey package into your INSTALLED_APPS.
INSTALLED_APPS = [
...
'cmsplugin_survey',
...
]
- Add cmsplugin_suvery.urls into your project's url configuration.
import cmsplugin_survey.urls
urlpatterns = [
...
url(r'^survey/', (cmsplugin_survey.urls, 'survey', 'survey')),
...
]
- Create database layout.
./manage.py migrate
Create and manage the surveys in django admin site.
You may set CMSPLUGIN_SURVEY_TEMPLATES
setting to let editor choose from different templates.