Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Django app to submit feedback
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
static
templates
README
__init__.py
admin.py
forms.py
models.py
urls.py
views.py

README

This is a django project.
ABOUT:
	This app will put a feedback image at right side of you webpage.
	When somebody clicks on it a thickbox containing feedback form will open.
	When user submits feedback, he/she will get a mail.

You need to do some initial configuration to start working.

Reqirement:
1. jquery.js
2. thickbox.js
3. thickbox.css

All of these are included in app.

Configuration:
1. put 'feedback' in your INSTALLED_APPS settings
2. add url(r'^feedback/', include('feedback.urls')), in your urls.py of project
3. make sure to call below js and css files accordingly
	<script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.5.1.min.js"></script>
    	<script type="text/javascript" src="{{ STATIC_URL }}js/feedback.js"></script>
	<script type="text/javascript" src="{{ STATIC_URL }}js/thickbox.js"></script>

	<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/feedback.css" />
    	<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/thickbox.css" />
4. add DEFAULT_FROM_EMAIL='some@some.com' in your settings
4. run syncdb command

If you are already using jquery and thickbox no need to include jquery-1.5.1.min.js, thickbox.js and thickbox.css
feedback.js and feedback.css are uncompressed, you can modify as per your need.

Thanks,
Something went wrong with that request. Please try again.