Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 938 Bytes

README.md

File metadata and controls

46 lines (34 loc) · 938 Bytes

cmsplugin-survey

This django CMS plugin lets editors add simple surveys into the pages.

Front End

installation

  1. Install cmsplugin_survey package.
pip install cmsplugin-survey
  1. Add cmsplugin_survey package into your INSTALLED_APPS.
INSTALLED_APPS = [
  ...
  'cmsplugin_survey',
  ...
]
  1. Add cmsplugin_suvery.urls into your project's url configuration.
import cmsplugin_survey.urls

urlpatterns = [
  ...
  url(r'^survey/', (cmsplugin_survey.urls, 'survey', 'survey')),
  ...
]
  1. Create database layout.
./manage.py migrate

Usage

Create and manage the surveys in django admin site. Admin Form

Configuration

You may set CMSPLUGIN_SURVEY_TEMPLATES setting to let editor choose from different templates.