Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Django app to submit feedback

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 static
Octocat-spinner-32 templates
Octocat-spinner-32 README
Octocat-spinner-32 __init__.py
Octocat-spinner-32 admin.py
Octocat-spinner-32 forms.py
Octocat-spinner-32 models.py
Octocat-spinner-32 urls.py
Octocat-spinner-32 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.