Description
On the feedback form, users are requested to provide their email address and choose from a selection of contact needs that include:
- I need help or have a general question
- I have a data/content question or comment
- I would like to report an error
- I have an idea or suggested improvement to share
- General comment or feedback
Make sure to run this piece of code on shell to populate the dropdown options model after COSMOS deployment.
from feedback.models import FeedbackFormDropdown
# Create all default options
for option in FeedbackFormDropdown.DEFAULT_OPTIONS:
FeedbackFormDropdown.objects.create(
name=option['name'],
display_order=option['display_order']
)