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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c15261d7feaf0f158eda0825dbadcec4a2733c0cae83b5f07ddfcc00cd6a69 |
|
MD5 | 2f8dece674477909c77c393e04c962c4 |
|
BLAKE2b-256 | 0bae1b7848b626a2332bde0f5e143611e7da67b1a98338e43d405faa1acb1313 |