django-feedback is a Django app to include quickly a feedback app to gather all your users message.
-
Add "django-feedback" to you INSTALLED_APPS::
INSTALLED_APPS = ( ... 'django-feedback', )
-
Include django-feedback URL module::
url(r'^feedback/', include('feedback.urls')),
-
Sync the database to create the model::
python manage.py syncdb
-
Add to your feedback default style::
-
Add after the body closing tag javascript call with your spinner::
<script type="text/javascript" src="{% static 'feedback/js/feedback.js'%}"></script> <script> feedback(YOUR_SPINNER); </script> -
Last, include feedback HTML at the end of the body, where you want the module::
{% include "feedback/feedback.html" %}