Package: django-form-surveys
Django Form SurveyDjango form survey is an application Django to easier create form survey and easy integrated for your project.Table of contentInstallationFeaturesManage SurveysOption ConfigQuestion TypesEasy SortSummary RespondentsDownload ReportNotificationConfigurationChange Master TemplateUser Photo ProfileField ValidatorsEmail FromFor ContributorInstallationInstall django-form-surveys using:pip install django-form-surveysAdddjf_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'
],Runpython manage.py migrateto create the djf_surveys models.Runpython manage.py collectstaticto collect file static djf_surveys into project.Include urldjf_surveysin your root url....

urlpatterns = [
    path('admin/', admin.site.urls),
    .....
    path('surveys/', include('djf_surveys.urls'))
]Accesshttp://127.0.0.1:8000/surveys/dashboard/to enter admin page to create a survey.Accesshttp://127.0.0.1:8000/surveys/get list of surveyAccesshttp://127.0.0.1:8000/surveys/{id}get form of surveyFeaturesManage a SurveyYou must as superuser to manage survey. You cancreate, edit, delete, search and show all available survey. To manage survey you can accesshttp://localhost:8000/surveys/dashboard/.Option SurveyYou can use the options beloweditable: this option allows the user to edit the answerdeletable: this option allows the user to delete the answerduplicate entry: this option allows users to submit more than onceprivate reponse: this option makes the answer list only visible to admincan anonymous user: This option allows users without authentication to submitQuestioin TypeAvailable field types include:TextNumberRadioSelectMulti SelectText AreaURLEmailDateRatingEasy Sorting QuestionYou can drag and drop to sort questionSummaryYou can see the survey summary in a charts. Summary just calculate type field "radio, select, multi_select, rating"Download ReportYou can download report as csvNotificationYou can send an email notification when the survey is submitted. To make sure it works look sectionConfigurationConfigurationThere are several configurations that you can write onsettings.pyChange Master TemplateSURVEY_MASTER_TEMPLATE,default='surveys/master.html', ->str: This configuration to change master template using your template. You can set with your template path. ExampleSURVEY_MASTER_TEMPLATE = 'mywebsite/master.html'> NB: This config will be work if on your template use block content{% block content %}to include or render content of context from viewand your master template must be including or usingTailwind CSS.User Photo ProfileSURVEY_USER_PHOTO_PROFILE,default='', ->str: This configuration is used to add a profile photo object that is related to the User model. Example:SURVEY_USER_PHOTO_PROFILE = 'self.user.profile.photo.url'Field ValidatorsSURVEY_FIELD_VALIDATORS, ->dict: This configuration to override max_length of type filedemail, url, textand min_length of type filedtext_area, text# default value of SURVEY_FIELD_VALIDATORSSURVEY_FIELD_VALIDATORS={'max_length':{'email':150,'text':250,'url':250},'min_length':{'text_area':100,'text':3}}# example declare in settings.pySURVEY_FIELD_VALIDATORS={'max_length':{'email':110,},'min_length':{'text_area':50,}}Number of PaginationSURVEY_PAGINATION_NUMBER, ->dict: This configuration to override number of paginationsurvey_listandanswer_list# example override in settings.py# default value 12SURVEY_PAGINATION_NUMBER={'answer_list':3,'survey_list':2}Email FromSURVEY_EMAIL_FROM, ->str: Enter your email from and then don't forget to define your SMTPFor Contributorclone projectsymlink app todemoln-s[path_project_djf_survey][path_demo_djf_survey]createenvdevelopmentactiveenventer directorydemonow, you can access all commandmanage.py