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' %}">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.0-r1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf509d3aa25413613e9bc43876d96ac9b7e4b3c631dd5ecb3705338aade88362 |
|
MD5 | 2592fa341fe0d9e613ad0e94be4b5745 |
|
BLAKE2b-256 | 33a09bb5a0800958d15fbb15676e461e4daa6eb68609aa004dad13b66fb53c08 |