Simple feedback form for your django project.
Project description
This Django app has for provide simple form for sending mail forom users to admins your django-based site.
Installation
Install into your python path using pip or github version:
pip install django-simple-feedback-form
or:
pip install -e git://github.com/DOOMer/django-simple-feedback-form#egg=django-simple-feedback-form
Using in your project
Add ‘feedback_form’ to your INSTALLED_APPS in settings.py,
- INSTALLED_APPS = (
…
‘feedback_form’,
)
and add ‘feedback_form.urls’ in your main usrs configuration:
url(r'^feedback/', include("feedback_form.urls", namespace="feedback_form")),
and add in your template add link to feedback view:
<a href="{% url 'feedback_form:feedback' %}">Feedback form</a>
And override the template “feedback_form/feedback.html” for your site.
Additional settings
You can override these settings in your main settngs.py file:
CONTACT_ADMINS_ONLY - send email only to users which added in ADMINS tuple. By default is enabled. If it is a disabled, send to MANAGERS mails too.
CONTACT_SEND_META_INFO- send meta information about user (IP and user-agent). By default is disabled.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-simple-feedback-form-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a63811bb6ce83bda867eaae054b904e4a2ca86c95f14e4adf12b9972b04ca5ad |
|
MD5 | 0c4ee54dfa8725313463fbcedd8ce348 |
|
BLAKE2b-256 | 480a83784dba882ac61e7df25457bde8643a8f404d1aac5fa69b31fe2d11c764 |