Welcome to Django form survey
Installation
- Install django-form-surveys using:
pip install djf_surveys - Add
djf_surveysto yourINSTALLED_APPSsetting like thisINSTALLED_APPS = [ ... 'djf_surveys', ] - Add context processor
'djf_surveys.context_processors.surveys_context''context_processors': [ .... 'djf_surveys.context_processors.surveys_context' ], - Run
python manage.py migrateto create the djf_surveys models. - Include url
djf_surveysin your root url.... urlpatterns = [ path('admin/', admin.site.urls), ..... path('surveys', include('djf_surveys.urls')) ] - Start the development server and visit
http://127.0.0.1:8000/admin/to create a survey. - Access
http://127.0.0.1:8000/surveys/get list of survey - Access
http://127.0.0.1:8000/surveys/{id}get form of survey