This app is used as a package used for leaving feedback about your app. Users will tell you about what is right and what is wrong.
- Run
pip install git+https://github.org/ptuckett86/feedback_request/src/master/
- Add "feedback", and "vote" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'feedback',
'vote',
]
- Add feedback email setting to your settings.py file:
FEEDBACK_TO_EMAIL = ["email@example.com"]
- Add to your urls.py or routes.py.
- Run
python manage.py migrate
to create the feedback and vote models.
- Start the development server and visit http://127.0.0.1:8000/
- Visit http://127.0.0.1:8000/feedback/ to start leaving feedback so you can tell the developers how much they suck.
- If you use drf-flex-fields add this to your settings.py file:
USER_SERIALIZER = "file_path.UserSerializer"
Note: The vote function is a way for you to vote on feedback instances. Therefore, in order to vote on a particular feedback instance, the url will look like this: /feedback/id/up_vote/ or /feedback/id/down_vote/
Only a super user can add feedback responses and change status on feedback.