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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af3899a3f8b6583928e9db259f63f3b2f9142dbd0ad4c494883da1ac9ba1578a |
|
MD5 | 368a8748c0a94dfe5947f08978c8a42a |
|
BLAKE2b-256 | d8270563254364a18b14db4f3b17f9122cc2c5eeeabd558ef6eb7a49ff0e5043 |