Simple application, that provides customizable email form tempalte tag.You can specify form fields and optionally enable dedicated view to render feedback page.
Project description
Usage
Add feedback to INSTALLED_APPS
INSTALLED_APPS = [ ... 'feedback', ... ]
Load feedback template tags:
{% load feedback_tags %}
Insert template tag in your template
{% show_feedback %}
Include something like
(r'^feedback', include('feedback.urls'))
in urlpatterns. That’s all!
Requriments
Note that feedback uses ajax form based on jQuery, so you need to include jQuery in your page. You can install it from Google hosting. Just include
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
in <head> element.
Customize
You can customize these settings in your settings.py:
FEEDBACK_FORM - form, that will be displayed to user. By default form contains email, topic and response fields
DIRECT_TO_TEMPLATE - Should application render feedback form direct to template fedback/feedback_page.html, or you prefer to use template tag in other templates.
To find out more documentation, run in doc folder
./doc$ make html
and browse documentation in doc/build/html
Redsolution CMS classifiers:
Project details
Release history Release notifications | RSS feed
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 redsolutioncms.django-simple-feedback-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb656b342dfbc9df0e889bb519ed13f0d7ff3dcab2ec0ac1fdf7c801afa7be5 |
|
MD5 | 778c1d2b40f2a2cd7e0bbd224bdc19e4 |
|
BLAKE2b-256 | aaaa030e8e772ce0b863998a6906fa4553465f070ce82c1abe5093cfa759fdcc |